* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    color: #222;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* HEADER */
header {
    background: #111;
    color: #fff;
    padding: 15px 0;
}

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

header h1 {
    font-size: 20px;
}

nav a {
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
    font-size: 14px;
}

nav a:hover {
    color: #e63946;
}

/* HERO */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url("images/project1.jpg") center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.hero p {
    max-width: 700px;
    margin: auto;
    margin-bottom: 25px;
}

/* BUTTON */
.btn {
    background: #e63946;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.btn:hover {
    background: #c92d3a;
}

/* SECTIONS */
.section {
    padding: 70px 0;
}

.section h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
}

.gray {
    background: #f4f4f4;
}

/* PROJECT GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h4 {
    padding: 10px;
}

.card p {
    padding: 0 10px 15px;
    font-size: 14px;
}

/* METALS */
.metal-list {
    list-style: none;
    max-width: 800px;
    margin: auto;
}

.metal-list li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

/* FOOTER */
footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 15px;
    font-size: 13px;
}

.hero {
    height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
                url("images/project1.jpg") center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    color: #fff;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* BUTTON VARIANTS */
.btn.primary {
    background: #e63946;
    border: none;
}

.btn.outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn.outline:hover {
    background: #fff;
    color: #111;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 999;
    justify-content: center;
    align-items: center;
}

.modal-box {
    background: #fff;
    padding: 30px;
    width: 90%;
    max-width: 450px;
    border-radius: 6px;
    position: relative;
}

.modal-box h3 {
    margin-bottom: 20px;
}

.modal-box input,
.modal-box textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
}

.modal-box textarea {
    min-height: 100px;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 22px;
    cursor: pointer;
}

/* DARK SECTION */
.dark {
    background: #0f0f0f;
    color: #fff;
}

.section-sub {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 15px;
    color: #bbb;
}

/* GALLERY */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
}

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

.gallery-item span {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover span {
    opacity: 1;
}

.center-cta {
    margin-top: 60px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.video-hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.video-hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contact-cta {
    margin-top: 30px;          /* moves it down */
    text-align: center;        /* centers the button */
    padding: 14px 28px;
    font-size: 16px;
}
