/*
 * TAMKAN WEBSITE — SHARED STYLES: both homepage & gallery
 * Search for EDIT HERE to find items you can customize.
 * IMPORTANT: HTML image files use assets/foo.png; this CSS file is in css/,
 * so CSS image URLs use ../assets/foo.jpg.
 */

/* EDIT HERE — WEBSITE COLORS. --accent is TAMKAN yellow; --ink is charcoal; --paper is the page background; --line changes borders. */
:root {
    --ink: #202523;
    --paper: #f5f4ef;
    --accent: #f8b826;
    --muted: #666b65;
    --line: #d9dcd4;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px;
}

/* EDIT HERE — BASE FONT AND BACKGROUND: change font-family for the whole website. */
body {
    margin: 0;
    font-family: Arial,Helvetica,sans-serif;
    color: var(--ink);
    background: var(--paper);
}

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

button,input,select,textarea {
    font: inherit;
}

button,a,input,select,textarea {
    outline-offset: 5px;
}

/* EDIT HERE — HEADER HEIGHT, BACKGROUND, and NAVIGATION BAR. */
header {
    height: 94px;
    background: var(--paper);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--line);
}

/* EDIT HERE — HEADER/FOOTER LOGO DISPLAY SIZE. The image file itself is assets/tamkan-logo.svg. */
.logo {
    width: 160px;
    height: 56px;
    object-fit: contain;
}

nav {
    display: flex;
    gap: 33px;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 18px 23px;
    background: var(--accent);
    color: var(--ink);
    font-weight: 700;
    font-size: 13px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: .2s;
}

.button:hover {
    background: #ffca50;
    transform: translateY(-2px);
}

.button.dark {
    background: var(--ink);
    color: white;
}

.button.outline {
    background: transparent;
    border-color: #626760;
    color: white;
}

.menu {
    display: none;
}

/* EDIT HERE — HOMEPAGE HERO SIZE, BACKGROUND COLOR and overall layout. */
.hero {
    position: relative;
    background: #1a201e;
    color: white;
    min-height: 660px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* EDIT HERE — HOMEPAGE MAIN BANNER PHOTO! Replace ../assets/welding.jpg with your own picture file in assets/ (path starts ../ because this CSS is in css/). */
.hero-photo {
    position: absolute;
    inset: 0 0 0 28%;
    background: url('../assets/Weld.png') center/cover no-repeat;
}

.hero:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,#19201ef5 0%,#19201edc 35%,#19201e35 80%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 76px 7% 84px;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 12px;
}

.eyebrow:before {
    content: '';
    width: 22px;
    height: 2px;
    background: var(--accent);
}

/* EDIT HERE — MAIN HEADING TYPOGRAPHY (font size, spacing, line height). */
h1 {
    font-size: clamp(48px,6.2vw,86px);
    line-height: 1.04;
    letter-spacing: -4px;
    max-width: 790px;
    margin: 32px 0 25px;
    font-weight: 600;
}

h1 span {
    color: var(--accent);
}

.hero p {
    max-width: 440px;
    line-height: 1.7;
    font-size: 16px;
    color: #d0d4cf;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.hero-note {
    margin-top: 52px;
    letter-spacing: 1.6px;
    font-size: 10px;
    color: #d4d8d1;
}

.strip {
    background: var(--accent);
    padding: 22px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: .6px;
}

.strip span+span:before {
    content: '+';
    padding-right: 30px;
    font-weight: normal;
}

section {
    padding: 100px 7%;
}

.section-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 50px;
}

h2 {
    font-size: clamp(34px,4vw,52px);
    letter-spacing: -2px;
    line-height: 1.12;
    font-weight: 500;
    margin: 22px 0 0;
}

.section-top p {
    max-width: 340px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

/* EDIT HERE — SERVICE CARD GRID: number of columns and layout. */
.services {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.service {
    padding: 32px;
    min-height: 265px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    position: relative;
    transition: .2s;
}

.service:hover {
    background: white;
}

.num {
    font-size: 11px;
    font-family: monospace;
    color: #73796f;
}

.symbol {
    display: block;
    font-size: 37px;
    font-weight: 300;
    margin: 25px 0;
    color: #70796b;
}

.service h3 {
    font-size: 20px;
    letter-spacing: -.5px;
    margin: 22px 0 12px;
}

.service p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.8;
    max-width: 290px;
}

.service .arrow {
    position: absolute;
    right: 28px;
    top: 28px;
    font-size: 20px;
}

.service.last {
    background: #e9ece2;
}

/* EDIT HERE — ABOUT SECTION BACKGROUND COLOR AND COLUMN LAYOUT. */
.about {
    background: #e7e9e1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.about-visual {
    height: 460px;
    background: var(--ink);
    position: relative;
    overflow: hidden;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #d1d7c9;
}

.about-visual svg {
    position: absolute;
    width: 110%;
    height: 90%;
    top: 25px;
    left: -5%;
}

.about-visual small {
    position: relative;
    z-index: 1;
    letter-spacing: 2px;
    font-size: 10px;
}

.about-visual strong {
    position: relative;
    z-index: 1;
    font-size: 25px;
    line-height: 1.3;
    font-weight: 400;
}

.about p {
    line-height: 1.85;
    color: #62685f;
    font-size: 14px;
    margin: 25px 0;
}

.features {
    border-top: 1px solid #c6ccbf;
    padding-top: 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    font-size: 12px;
    font-weight: bold;
}

.features span:before {
    content: '↗';
    color: #738066;
    margin-right: 10px;
}

.process {
    background: var(--ink);
    color: white;
}

.process .section-top p {
    color: #b6bfb2;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 55px;
    margin-top: 60px;
}

.step {
    border-top: 1px solid #596051;
    padding-top: 25px;
}

.step b {
    color: var(--accent);
    font-size: 12px;
    font-family: monospace;
}

.step h3 {
    font-size: 22px;
    font-weight: 400;
    margin-top: 28px;
}

.step p {
    color: #bcc3b7;
    font-size: 14px;
    line-height: 1.8;
}

/* EDIT HERE — CONTACT SECTION LAYOUT; actual contact information is in index.html. */
.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.contact p {
    color: var(--muted);
    line-height: 1.8;
    font-size: 14px;
    max-width: 390px;
}

.contact-links {
    margin-top: 35px;
    display: grid;
    gap: 20px;
}

.contact-links small {
    display: block;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #737b6c;
    margin-bottom: 8px;
}

.contact-links a {
    font-size: 20px;
}

.address {
    margin-top: 30px;
    font-size: 13px;
    line-height: 1.8;
    color: #656d5e;
}

form {
    background: white;
    padding: 35px;
    border: 1px solid var(--line);
}

form h3 {
    font-weight: 500;
    margin: 0 0 25px;
    font-size: 23px;
}

.formrow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 17px;
}

input,textarea,select {
    display: block;
    width: 100%;
    padding: 12px 0;
    background: white;
    border: 0;
    border-bottom: 1px solid #c9cfc2;
    border-radius: 0;
    color: var(--ink);
    font-size: 13px;
    margin-top: 6px;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

form .button {
    width: 100%;
    margin-top: 8px;
}

.form-note {
    font-size: 11px !important;
    line-height: 1.6 !important;
    margin-bottom: 0;
}

footer {
    border-top: 1px solid var(--line);
    padding: 35px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #68705f;
}

footer .logo {
    width: 120px;
}

footer a:hover,nav>a:not(.button):hover {
    color: #a36d00;
}

.footer-text {
    line-height: 1.8;
}

.menu {
    border: 0;
    background: transparent;
    font-size: 24px;
}

.skip {
    position: fixed;
    top: -100px;
    z-index: 30;
    background: var(--accent);
    padding: 15px;
}

.skip:focus {
    top: 0;
}

/* RESPONSIVE DESIGN — edit these settings for screen width: (max-width:900px) */
@media (max-width:900px) {
    nav {
        gap: 20px;
    }
    .about,.contact {
        gap: 40px;
    }
    /* EDIT HERE — HOMEPAGE HERO SIZE, BACKGROUND COLOR and overall layout. */
    .hero {
        min-height: 600px;
    }
    .service {
        padding: 24px;
    }
    .strip {
        font-size: 10px;
    }
    .strip span+span:before {
        padding-right: 12px;
    }
}

/* RESPONSIVE DESIGN — edit these settings for screen width: (max-width:650px) */
@media (max-width:650px) {
    /* EDIT HERE — HEADER HEIGHT, BACKGROUND, and NAVIGATION BAR. */
    header {
        height: 76px;
    }
    /* EDIT HERE — HEADER/FOOTER LOGO DISPLAY SIZE. The image file itself is assets/tamkan-logo.svg. */
    .logo {
        width: 136px;
    }
    .menu {
        display: block;
    }
    nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--paper);
        padding: 24px;
        flex-direction: column;
        align-items: stretch;
        border-bottom: 1px solid var(--line);
    }
    nav.open {
        display: flex;
    }
    /* EDIT HERE — HOMEPAGE HERO SIZE, BACKGROUND COLOR and overall layout. */
    .hero {
        min-height: 650px;
    }
    .hero-inner {
        padding: 60px 7%;
    }
    /* EDIT HERE — HOMEPAGE MAIN BANNER PHOTO! Replace ../assets/welding.jpg with your own picture file in assets/ (path starts ../ because this CSS is in css/). */
    .hero-photo {
        left: 0;
        opacity: .55;
    }
    /* EDIT HERE — MAIN HEADING TYPOGRAPHY (font size, spacing, line height). */
    h1 {
        letter-spacing: -2px;
        font-size: 52px;
    }
    .hero p {
        font-size: 14px;
    }
    .hero-actions {
        flex-wrap: wrap;
    }
    .hero-note {
        margin-top: 40px;
        font-size: 9px;
    }
    .strip {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .strip span+span:before {
        content: none;
    }
    section {
        padding: 65px 7%;
    }
    .section-top {
        display: block;
    }
    .section-top p {
        margin-top: 25px;
    }
    /* EDIT HERE — SERVICE CARD GRID: number of columns and layout. */
    .services {
        grid-template-columns: 1fr;
    }
    .service {
        min-height: 210px;
    }
    .service h3 {
        margin-top: 30px;
    }
    .about,.contact {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-visual {
        height: 340px;
    }
    .steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .step h3 {
        margin-top: 18px;
    }
    .features {
        font-size: 11px;
    }
    form {
        padding: 25px;
    }
    .formrow {
        grid-template-columns: 1fr;
        gap: 0;
    }
    footer {
        gap: 22px;
        align-items: flex-start;
        flex-wrap: wrap;
    }
    .footer-text {
        max-width: 180px;
    }
}

/* RESPONSIVE DESIGN — edit these settings for screen width: (prefers-reduced-motion:reduce) */
@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        transition: none !important;
    }
}

/* EDIT HERE — SERVICE PHOTO SIZE AND CROP. Change object-fit: cover to contain if you need a complete uncropped image. Actual file names are in index.html. */
.service-photo {
    width: calc(100% + 64px);
    height: 210px;
    object-fit: cover;
    display: block;
    margin: -32px -32px 26px;
}

.service:has(.service-photo) .arrow {
    top: 235px;
}

.service.last {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.image-note {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
}

.gallery-teaser {
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid var(--line);
    padding-top: 28px;
}

/* RESPONSIVE DESIGN — edit these settings for screen width: (max-width:900px) */
@media (max-width:900px) {
    /* EDIT HERE — SERVICE PHOTO SIZE AND CROP. Change object-fit: cover to contain if you need a complete uncropped image. Actual file names are in index.html. */
    .service-photo {
        width: calc(100% + 48px);
        margin: -24px -24px 24px;
    }
    .service:has(.service-photo) .arrow {
        top: 230px;
    }
}

/* RESPONSIVE DESIGN — edit these settings for screen width: (max-width:650px) */
@media (max-width:650px) {
    .gallery-teaser {
        align-items: flex-start;
        flex-direction: column;
    }
    /* EDIT HERE — SERVICE PHOTO SIZE AND CROP. Change object-fit: cover to contain if you need a complete uncropped image. Actual file names are in index.html. */
    .service-photo {
        height: 230px;
    }
    .service:has(.service-photo) .arrow {
        top: 250px;
    }
}
