/* --- Upantaz Theme --- */
:root {
    --bg: #ffffff;
    --text-main: #111111;
    --text-muted: #5f6368;
    --border: #e8eaed;
    --accent: #116447;
    --error: #d93025;
    --success: #188038;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
scroll-behavior: smooth;
}

body {
font-family: var(--font-sans);
color: var(--text-main);
background-color: var(--bg);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}

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

/* --- Header & Navigation --- */
header {
position: fixed;
top: 0;
left: 0;
width: 100%;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(5px);
border-bottom: 1px solid var(--border);
z-index: 1000;
}

.navbar {
display: flex;
justify-content: space-between;
align-items: center;
height: 64px;
}

.logo {
display: flex;
align-items: center;
text-decoration: none;
}

/* Logo Image Styling */
.logo-img {
height: 38px;
width: auto;
max-width: 160px;
object-fit: contain;
display: block;
}

.hamburger {
display: flex;
flex-direction: column;
justify-content: center;
gap: 5px;
width: 32px;
height: 32px;
background: none;
border: none;
cursor: pointer;
padding: 4px;
z-index: 1001;
}

.hamburger .bar {
height: 2px;
width: 100%;
background-color: var(--text-main);
border-radius: 2px;
transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-menu {
position: fixed;
top: 64px;
left: 0;
width: 100%;
height: calc(100vh - 64px);
background-color: var(--bg);
display: flex;
flex-direction: column;
padding: 2rem 1.5rem;
gap: 1.5rem;
list-style: none;
visibility: hidden;
opacity: 0;
transform: translateY(-8px);
transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-menu.active {
visibility: visible;
opacity: 1;
transform: translateY(0);
}

.nav-link {
font-size: 1.125rem;
color: var(--text-main);
text-decoration: none;
}

.nav-link:hover { color: var(--accent); }

@media (min-width: 768px) {
.hamburger { display: none; }
.nav-menu {
    position: static;
    height: auto;
    width: auto;
    padding: 0;
    flex-direction: row;
    gap: 2rem;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}
.nav-link { font-size: 0.95rem; }
}

section {
padding: 5rem 0;
border-bottom: 1px solid var(--border);
}

#hero { padding-top: 10rem; padding-bottom: 6rem; }
.tagline {
font-family: var(--font-mono);
font-size: 0.85rem;
color: var(--accent);
text-transform: uppercase;
letter-spacing: 0.08em;
margin-bottom: 1rem;
}

h1 {
font-size: clamp(2.2rem, 5vw, 3.5rem);
font-weight: 600;
letter-spacing: -0.03em;
line-height: 1.15;
margin-bottom: 1.5rem;
}

p.lead {
font-size: 1.2rem;
color: var(--text-muted);
max-width: 680px;
}

h2 {
font-size: 1.5rem;
font-weight: 600;
margin-bottom: 1.5rem;
}

.grid-list {
display: grid;
grid-template-columns: 1fr;
gap: 2rem;
}

@media (min-width: 600px) {
.grid-list { grid-template-columns: repeat(2, 1fr); }
}

.grid-item h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.4rem; }
.grid-item p { color: var(--text-muted); font-size: 0.95rem; }

/* Minimal Contact Form Styles */
.form-group { margin-bottom: 1.25rem; }

input, textarea {
    width: 100%;
    padding: 0.75rem 0;
    border: none;
    border-bottom: 1px solid var(--border);
    background: transparent;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    outline: none;
    transition: border-color 0.2s ease;
}

input:focus, textarea:focus { border-bottom-color: var(--accent); }

button.btn-submit {
margin-top: 1rem;
background: var(--text-main);
color: var(--bg);
border: none;
padding: 0.75rem 1.75rem;
font-size: 0.9rem;
font-weight: 500;
cursor: pointer;
border-radius: 4px;
transition: opacity 0.2s ease;
}

button.btn-submit:disabled {
opacity: 0.5;
cursor: not-allowed;
}

/* AJAX Alert Message Container */
.form-alert {
display: none;
padding: 0.75rem 0;
font-size: 0.9rem;
margin-bottom: 1rem;
}
.form-alert.success { display: block; color: var(--success); }
.form-alert.error { display: block; color: var(--error); }

footer {
padding: 2.5rem 0;
font-size: 0.85rem;
color: var(--text-muted);
font-family: var(--font-mono);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 600px) {
.footer-content { flex-direction: row; }
}

.social-links { display: flex; gap: 1.25rem; align-items: center; }
.social-links a {
    color: var(--text-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover { color: var(--accent); transform: translateY(-2px); }
.social-links .material-icons { font-size: 1.35rem; }

.tkbill-link {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.tkbill-link:hover {
    color: #116447;
    text-decoration: underline;
}

/* Founder Note */
.founder-note {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-top: 35px;
}

.founder-photo {
    width: 75px;
    height: 100px;
    object-fit: cover;
    display: block;
}

.founder-note-content {
    padding-top: 2px;
}

.founder-title {
    font-size: 20px;
    line-height: 1.35;
    font-weight: 400;
    color: #111;
}

.founder-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.founder-name {
    font-size: 20px;
    line-height: 1.35;
    font-weight: 400;
    color: #111;
    margin-bottom: 8px;
}

.founder-read-more {
    display: inline-block;
    font-size: 16px;
    line-height: 1.4;
    color: #222;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
    padding-bottom: 2px;
}

.founder-read-more:hover {
    border-bottom-color: #222;
}

.founder-linkedin-icon {
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease, transform 0.2s ease;
    margin-top: -4px;
}

.founder-linkedin-icon:hover {
    color: var(--accent);
    transform: translateY(-1px);
}


/* ========================================
   Founder Note Page
======================================== */

.founder-note-page {
    padding: 90px 0 110px;
}

.founder-note-header {
    width: 100%;
    margin-bottom: 55px;
}

.founder-note-header h1 {
    margin-top: 15px;
    margin-bottom: 0;
}

.founder-letter {
    width: 100%;
    margin: 0 auto;
}

.founder-letter p {
    font-size: 18px;
    line-height: 1.85;
    margin: 0 0 28px;
}

.founder-letter p:first-child {
    font-size: 20px;
    margin-bottom: 38px;
}

.founder-signature {
    display: flex;
    flex-direction: column;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.founder-signature strong {
    font-size: 20px;
    margin-bottom: 4px;
}

.founder-signature span {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}


@media (max-width: 768px) {

    .founder-note-page {
        padding: 60px 0 80px;
    }

    .founder-note-header {
        margin-bottom: 40px;
    }

    .founder-letter p {
        font-size: 16px;
        line-height: 1.8;
        margin-bottom: 24px;
    }

    .founder-letter p:first-child {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .founder-signature {
        margin-top: 40px;
    }
}




/* ========================================
   Products List Layout (Modern Clean Look)
======================================== */

#products {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.products-header {
    margin-bottom: 2rem;
}

.products-header h2 {
    margin-bottom: 0;
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
}

.product-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: #ffffff;
    border: 1px solid #e5e8e6;
    border-radius: 16px;
    padding: 1.5rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.product-item:hover {
    border-color: #dce3df;
    box-shadow: 0 10px 30px rgba(17, 100, 71, 0.06);
}

/* Thumbnail Image (Left) */
.product-thumb-link,
.product-thumb-wrapper {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f5f4;
    display: block;
}

.product-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.35s ease, transform 0.35s ease;
}

.product-item:hover .product-thumb {
    filter: grayscale(0%);
    transform: scale(1.03);
}

/* Product Info Content (Right) */
.product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.product-info h3 {
    margin: 0.35rem 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.product-info h3 a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-info h3 a:hover {
    color: var(--accent);
}

.product-info p {
    margin: 0 0 0.85rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Visit Action Link below description */
.product-action-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    margin-top: auto;
    transition: gap 0.2s ease;
}

.product-action-link .material-icons {
    font-size: 1rem;
}

.product-action-link:hover {
    gap: 0.55rem;
    text-decoration: underline;
}

/* Responsive: Stack vertically on smaller screens */
@media (max-width: 650px) {
    .product-item {
        flex-direction: column;
        padding: 1.25rem;
        gap: 1rem;
    }

    .product-thumb-link,
    .product-thumb-wrapper {
        width: 100%;
        height: 180px;
    }
}