﻿
/* Constants */
:root {
    --color-base: rgb(120, 31, 31);
    --color-highlight: rgb(193, 132, 11);
    --color-link: rgb(50,50,50);
    --color-grad-start: rgb(120, 120, 120);
    --color-grad-stop: rgb(240, 240, 240);
    --color-text: rgb(220, 220, 220);
    --color-grad-start2: rgb(50,50,50);
    --color-grad-stop2: rgb(200, 200, 200);
    --color-head: rgb(50,50,50);
}


/* ======== BASIC LAYOUT ======== */
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: var(--color-link);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ======== HEADER ======== */
header {
    /*background-color: rgb(255, 102,0, 100);*/
    background: linear-gradient( to bottom, var(--color-grad-start), var(--color-grad-stop) );
    align-items: center;
    padding: 5px 40px;
    border-bottom: 1px solid #e0e0e0;
    position: relative; /* prepares for sticky if you want later */
    z-index: 1000;
}


/* ======== NAVIGATION BAR ======== */
.navbar {
    max-width: 1200px; /* centers content nicely on large screens */
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    line-height: 0; /* or try something like 1.2 */
    padding: 0px 0px;
}

/* ======== LOGO ======== */

.logo {
    display: flex;
    align-items: center; /* centers vertically */
    gap: 10px; /* space between logo and text */
}
.logo .company-name {
    font-size: 1.6rem;
    font-weight: bold;
    text-decoration: none;
}

.logo .company-name .workshop {
    color: var(--color-base);
}

.logo .company-name .thirteen {
    color: var(--color-highlight);
}

.logo img {
    height: 42px; /* Try 40px or 35px instead of 50–60 */
    width: auto;
    transition: transform 0.2s ease;
}
 
.logo:hover img {
    transform: scale(1.05);
}

/* ======== NAV LINKS ======== */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-link);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-highlight);
}

.nav-links a.active {
    color: var(--color-base);
    font-weight: bold;
}

.hero {
    height: 80vh; /* 80% of the viewport height */
    background: linear-gradient( to bottom right, var(--color-grad-start2), var(--color-grad-stop2) );
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text);
    padding: 0 40px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.6rem;
    margin-bottom: 1rem;
    color: var(--color-base);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.thirteen {
    color: var(--color-highlight);
}
.cta-button {
    display: inline-block;
    background-color: var(--color-highlight);
    color: var(--color-text);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    background-color: var(--color-base);
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}
/* Footer Section */
.footer {
    background: linear-gradient( to top, var(--color-grad-start), var(--color-grad-stop) );
    padding: 20px 20px;
    text-align: center;
    font-size: 0.95rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-link);
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.footer-links a {
    color: var(--color-link);
    text-decoration: none;
    transition: color 0.3s ease;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a:hover {
    color: var(--color-highlight);
}

/* About Page */
.about {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 40px;
    line-height: 1.6;
    color: var(--color-link);
}

.about h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-base);
}

.about p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}


/* ======== CONTACT PAGE ======== */

.contact-hero {
    background: linear-gradient(to bottom right, var(--color-grad-start2), var(--color-grad-stop2));
    padding: 10px 40px; /* smaller top/bottom spacing */
    text-align: center;
    color: var(--color-text);
}

.contact-hero h1 {
    margin-top: 0px;
    margin-bottom: 0px;
    color: var(--color-base);
}

.contact-hero p {
    margin-bottom: 30px;
}

.contact-info {
    margin: 0px 0 0px;
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.4;
}

.contact-info p {
    margin: 0px 0;
}

.contact-form {
    max-width: 600px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-form label {
    font-weight: 600;
    color: var(--color-link);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 3px 12px;
    border: 1px solid rgb(180, 180, 180);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical; /* lets user resize only up/down */
    box-sizing: border-box; /* ensures padding doesn’t expand total width */
}

/* Ensure textarea aligns with inputs */
.contact-form textarea {
    min-height: 120px; /* good starting size for message box */
}

/* Optional: submit button styling */
.contact-form button {
    background-color: var(--color-highlight);
    color: var(--color-text);
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
    background-color: var(--color-base);
    transform: translateY(-2px);
}

/*
.projects-section {
    padding: 60px 40px;
    background: linear-gradient(to bottom right, var(--color-grad-start2), var(--color-grad-stop2));
    color: var(--color-link);
}*/

.projects-section {
    background: none;
    color: var(--color-link);
    padding: 40px 20px;
    min-height: auto;
    display: block;
    text-align: left;
}
/* === Grid Layout === */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/*.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}*/

.project-card img {
width: 250px !important;
height: 250px !important;
object-fit: cover !important;
border-radius: 10px;
display: block;
background: red; /* diagnostic only */
}



.projects-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

    .projects-content h1 {
        font-size: 2.4rem;
        color: var(--color-base);
        margin-bottom: 10px;
    }

.projects-intro {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--color-link);
}

/* === Individual Cards === */
.project-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 20px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
    /* Title */
    .project-card h2 {
        font-size: 1.4rem;
        margin-bottom: 10px;
        color: var(--color-base);
    }

    /* Description */
    .project-card p {
        font-size: 1rem;
        color: var(--color-link);
        line-height: 1.5;
    }

    /* Hover effect */
    .project-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    }

/* Make project detail hero behave differently from normal hero */
.hero.project-detail {
    height: auto; /* Instead of 80vh */
    padding: 40px 0; /* Vertical spacing only */
}

/* Let content stretch wider than the home hero */
.project-detail-content {
    width: 100%;
    max-width: 1400px; /* Keeps things from getting TOO wide */
    margin: 0 auto;
    padding: 0 0px;
    text-align: center;
}

    /* Heading & intro */
    .project-detail-content h1 {
        margin-top: 0px;
        margin-bottom: 10px;
        color: var(--color-base);
    }

    .project-detail-content h2 {
        color: var(--color-base);
    }

    .project-detail-content p {
        margin-bottom: 20px;
        color: var(--color-text);
    }

/* FULL-WIDTH GALLERY */
/*.project-gallery {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr; 
    gap: 20px;
    margin-top: 20px;
} */

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

    /* Gallery images fill the screen nicely */
    .project-gallery img {
        width: 100%;
        aspect-ratio: 4 / 3; /* Adjust height here */
        max-width: 400px;
        object-fit: cover;
        border-radius: 10px;
    }