/* ================================
   MARGON CONCRETE STYLES
   Bold Industrial Theme - Red/Grey/Black
   ================================ */

:root {
    --primary: #C41E3A;
    --primary-dark: #8B1429;
    --primary-light: #E8455F;
    --dark: #1C1C1C;
    --dark-grey: #2C2C2C;
    --grey: #4A4A4A;
    --light-grey: #7F7F7F;
    --text: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --off-white: #F2F2F2;
    --border: #DEDEDE;
    --shadow: rgba(0, 0, 0, 0.15);
    --transition: all 0.25s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
}

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

/* Top Bar */
.top-bar {
    background: var(--dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 13px;
    font-weight: 500;
}

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

.top-bar a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--white);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 15px var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo img {
    height: 50px;
    width: auto;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

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

.nav-cta {
    background: var(--primary) !important;
    color: var(--white) !important;
    padding: 12px 28px !important;
    border-radius: 4px;
    transition: var(--transition) !important;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.3);
}

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

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(28, 28, 28, 0.88) 0%, rgba(28, 28, 28, 0.5) 60%, rgba(28, 28, 28, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 140px 24px 100px;
    color: var(--white);
    margin-left: calc((100vw - 1200px) / 2 + 24px);
}

.hero-tag {
    display: inline-block;
    color: var(--primary-light);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
}

.hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 64px;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 36px;
    opacity: 0.9;
    max-width: 540px;
}

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

.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(196, 30, 58, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

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

.btn-light:hover {
    background: var(--off-white);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
}

.hero-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--primary);
    z-index: 2;
}

/* Features Bar */
.features-bar {
    background: var(--dark);
    padding: 40px 0;
    color: var(--white);
}

.features-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.feature-num {
    font-family: 'Oswald', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.feature-text {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.85;
}

.feature-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

/* Section Tags */
.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

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

.section-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 42px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.section-header p {
    color: var(--text-light);
    font-size: 17px;
    max-width: 500px;
    margin: 0 auto;
}

/* About */
.about {
    padding: 100px 0;
    background: var(--white);
}

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

.about-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 38px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
    line-height: 1.15;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.7;
}

.about-cta {
    margin-top: 28px;
}

.about-images {
    position: relative;
}

.about-img-main {
    width: 90%;
    border-radius: 4px;
    box-shadow: 0 25px 60px var(--shadow);
}

.about-img-sub {
    position: absolute;
    bottom: -30px;
    right: 0;
    width: 55%;
    border-radius: 4px;
    box-shadow: 0 15px 40px var(--shadow);
    border: 5px solid var(--white);
}

/* Services */
.services {
    padding: 100px 0;
    background: var(--off-white);
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 4px;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary);
    transition: var(--transition);
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px var(--shadow);
    border-color: transparent;
}

.service-card.featured {
    border: 2px solid var(--primary);
}

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
}

.service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    color: var(--primary);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

/* Projects */
.projects {
    padding: 100px 0;
    background: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    height: 300px;
}

.project-card.large {
    height: 300px;
    grid-row: span 1;
}

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

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28, 28, 28, 0.85) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-type {
    color: var(--primary-light);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.project-overlay h4 {
    color: var(--white);
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--dark);
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-content {
    max-width: 600px;
}

.cta-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 14px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.6;
}

/* Contact */
.contact {
    padding: 100px 0;
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.contact-info > p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}

.c-card {
    background: var(--white);
    padding: 22px;
    border-radius: 4px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.c-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px var(--shadow);
    border-color: var(--primary);
}

.c-icon {
    display: block;
    font-size: 24px;
    margin-bottom: 8px;
}

.c-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.c-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

.c-card a:hover {
    color: var(--primary-dark);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-btn {
    display: inline-block;
    padding: 10px 24px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.contact-form-box {
    background: var(--white);
    padding: 44px;
    border-radius: 4px;
    box-shadow: 0 10px 40px var(--shadow);
    border-top: 4px solid var(--primary);
}

.contact-form-box h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
    background: var(--off-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

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

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    height: 48px;
    margin-bottom: 16px;
}

.footer-brand p {
    opacity: 0.7;
    font-size: 14px;
    line-height: 1.7;
    max-width: 280px;
}

.footer-nav-col h4,
.footer-contact-col h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--primary-light);
}

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

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

.footer-nav-col a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-nav-col a:hover {
    color: var(--primary-light);
}

.footer-contact-col p {
    opacity: 0.75;
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-contact-col a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact-col a:hover {
    color: var(--white);
}

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

.footer-bottom p {
    opacity: 0.5;
    font-size: 13px;
}

.footer-bottom p:last-child {
    margin-top: 6px;
    font-size: 12px;
    opacity: 0.4;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        margin-left: 24px;
        max-width: 600px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }

    .features-grid {
        justify-content: center;
    }

    .feature-divider {
        display: none;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .cta-box {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 76px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 18px;
        box-shadow: 0 10px 40px var(--shadow);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .about-content h2,
    .contact-info h2 {
        font-size: 28px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .contact-form-box {
        padding: 28px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav-container {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-content {
        margin-left: 16px;
        padding: 120px 16px 80px;
    }

    .feature-num {
        font-size: 32px;
    }
}
