/* main.css for Tajako Group */

:root {
	/* Premium Earth-Tone Color Palette */
	--green: #006241;
	--green-dark: #004d33;
	--gold: #c8a46a;
	--white: #ffffff;

	--color-primary: var(--green); /* Dark green */
	--color-secondary: var(--gold); /* Gold */
	--color-accent: var(--green-dark); /* Deeper green */
	--color-background: #F9FAFB; /* Off-white */
	--color-surface: #FFFFFF; /* Pure white */
	--color-text: #374151; /* Dark grey for readability */
	--color-text-light: #6B7280; /* Light grey */
	--color-border: #E5E7EB;
	--color-success: #10B981;

	/* Typography */
	--font-primary: 'Inter', sans-serif;
	--font-secondary: 'Poppins', sans-serif;
}

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

body {
	font-family: var(--font-primary);
	color: var(--color-text);
	background-color: var(--color-background);
	line-height: 1.6;
	font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-secondary);
	color: var(--color-primary);
	margin-bottom: 1rem;
	font-weight: 600;
}

a {
	color: var(--color-secondary);
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: var(--color-accent);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

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

/* Header */
.header,
.site-header,
.main-header-bar {
    min-height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0,0,0,.05);
    position: sticky;
    top: 0;
    z-index: 999;
}

.custom-logo {
    max-height: 65px !important;
    width: auto !important;
}

.logo {
    display:flex;
    align-items:center;
    gap:15px;
}

.logo-icon {
    width:70px;
    height:70px;
    border:2px solid var(--gold);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:34px;
}

.logo-text h2, .logo-text h2 a {
    margin:0;
    color:var(--green-dark);
    font-size:24px;
    line-height:1.1;
    letter-spacing:1px;
    font-weight:800;
	text-decoration:none;
}

.logo-text span {
    color:var(--gold);
    font-size:10px;
    letter-spacing:1px;
    text-transform:uppercase;
    font-weight: 600;
}

.menu {
    display:flex;
    gap:35px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.menu a {
    text-decoration:none;
    color:var(--green-dark);
    font-size:16px;
    font-weight:700;
    transition:.3s;
    position: relative;
    padding-bottom: 5px;
}

.menu a:hover, .menu li.current-menu-item a {
    color:var(--green);
}

.main-header-menu > li > a,
.ast-builder-menu-1 .menu-link {
    color:#1e4d2b !important;
    font-size:16px;
    font-weight:600;
    padding:0 18px !important;
}

.main-header-menu > li > a:hover,
.ast-builder-menu-1 .menu-link:hover {
    color:#c8a46a !important;
}

.menu-item-specification {
    display:none !important;
}

.menu-quotation {
    display: flex;
    align-items: center;
}

.header-quote-btn,
.menu-quotation a {
    background:#006241 !important;
    color:white !important;
    padding:14px 28px !important;
    border-radius:8px !important;
    font-weight:700 !important;
    transition:.3s;
}

.header-quote-btn:hover,
.menu-quotation a:hover {
    background:#004d33 !important;
}

.menu a::after, .menu li.current-menu-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--green);
    transition: width 0.3s ease;
}

.menu a:hover::after, .menu li.current-menu-item a::after {
    width: 20px;
}

.quote-btn {
    background:var(--green-dark);
    color:#fff;
    text-decoration:none;
    padding:12px 24px;
    border-radius:6px;
    font-size:16px;
    font-weight:600;
    transition:.3s;
	border:none;
    display: flex;
    align-items: center;
}

.quote-btn:hover {
    transform:translateY(-2px);
    box-shadow:0 4px 12px rgba(0,0,0,.15);
    background:var(--green);
	color: #fff;
}

.menu-toggle {
	display: none;
	background: transparent;
	border: none;
	color: var(--green);
	font-size: 2rem;
	cursor: pointer;
	padding: 0.5rem;
}

@media(max-width:768px){

    .custom-logo{
        max-height:50px !important;
    }

    .main-header-menu > li > a{
        font-size:15px;
    }

}

/* Buttons */
.btn {
	display: inline-flex;
	padding: 12px 24px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 16px;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
	border: 1px solid transparent;
	text-decoration: none;
}

.btn-primary {
	background-color: var(--green-dark);
	color: var(--white);
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,.15);
    background-color: var(--green);
	color: var(--white);
}

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

.btn-secondary:hover {
	background-color: #b38f5a;
	color: var(--white);
}

.btn-outline {
	background-color: transparent;
	border: 1px solid var(--white);
	color: var(--white);
    align-items: center;
    justify-content: center;
}

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

/* Footer */
.site-footer {
	background-color: #ffffff;
	color: #1e4d2b;
	padding: 4rem 0 2rem;
	margin-top: 4rem;
	border-top: 1px solid #E5E7EB;
}

.footer-widget-area {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer-title {
	color: #1e4d2b;
	font-size: 1.25rem;
	margin-bottom: 1.5rem;
}

.footer-column ul {
	list-style: none;
}

.footer-column a {
	color: #1e4d2b;
}

.footer-column a:hover {
	color: #c8a46a;
}

.social-links {
	display: flex;
	gap: 1rem;
}

.newsletter-form {
	display: flex;
	gap: 0.5rem;
}

.newsletter-form input {
	padding: 0.75rem;
	border: none;
	border-radius: 4px;
	flex-grow: 1;
}

.site-info {
	border-top: 1px solid #374151;
	padding-top: 2rem;
	text-align: center;
	color: #9CA3AF;
}

.site-info a {
	color: #9CA3AF;
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.py-4 { padding: 4rem 0; }
.bg-light { background-color: var(--color-surface); }

/* Hero Section */
.hero {
	position: relative;
	min-height: 90vh;
	background: url('../images/hero-bg.png') center/cover no-repeat;
	display: flex;
	align-items: center;
	color: #ffffff;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.hero-content {
	position: relative;
	z-index: 1;
	max-width: 780px;
	padding: 6rem 0;
}

.hero .eyebrow {
	color: #C8A46A;
	font-size: 0.9rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	font-weight: 700;
	margin-bottom: 1.25rem;
}

.hero h1 {
	font-size: 4.8rem;
	line-height: 0.98;
	font-weight: 800;
	margin-bottom: 1.25rem;
	letter-spacing: -0.04em;
}

.hero-line {
	display: block;
}

.hero-highlight {
	color: #C8A46A;
}

.hero-subtitle {
	font-size: 1.15rem;
	max-width: 750px;
	color: rgba(255, 255, 255, 0.92);
	margin-bottom: 2rem;
	line-height: 1.8;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.hero-actions .btn-outline {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.85);
	color: #ffffff;
}

.hero-actions .btn-outline:hover {
	background: rgba(255, 255, 255, 0.10);
}

.hero-actions .btn-primary {
	background: #006241;
	border-color: #006241;
}

@media (max-width: 992px) {
	.hero h1 {
		font-size: 3.3rem;
	}
}

@media (max-width: 768px) {
	.hero {
		min-height: 70vh;
		padding: 4rem 0;
	}

	.hero h1 {
		font-size: 2.8rem;
	}

	.hero-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.hero-actions .btn {
		width: 100%;
	}
}

/* Stats Section */
.stats-section {
	background-color: #FDFBF7;
	padding: 3rem 0;
	border-bottom: 1px solid var(--color-border);
}

.stats-grid {
	display: flex;
	justify-content: center;
	align-items: center;
    flex-wrap: wrap;
	gap: 0;
}

.stat-item {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 1rem;
    padding: 0 3rem;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 1px;
    background-color: #E5E7EB;
}

.stat-icon {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	border: 1px solid var(--gold);
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: transparent;
}

.stat-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.stat-number {
    font-size: 1.75rem;
    color: var(--green-dark);
    font-weight: 800;
    line-height: 1.2;
}

.stat-label {
    color: #4B5563;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Feature Grid (Products / Features) */
.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}

.card {
	background: var(--color-surface);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease;
}

.card:hover {
	transform: translateY(-5px);
}

.card-img {
	height: 200px;
	background-color: #E5E7EB;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-text-light);
}

.card-body {
	padding: 1.5rem;
}

.card-title {
	font-size: 1.25rem;
	margin-bottom: 0.5rem;
}

/* Section Title */
.section-title {
	text-align: center;
	margin-bottom: 3rem;
}

.section-title h2 {
	font-size: 2.5rem;
}

/* Table */
.data-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 2rem;
	background: var(--color-surface);
}

.data-table th, .data-table td {
	padding: 1rem;
	border: 1px solid var(--color-border);
	text-align: left;
}

.data-table th {
	background-color: var(--color-background);
	font-weight: 600;
}

/* Form */
.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
}

.form-control {
	width: 100%;
	padding: 0.75rem;
	border: 1px solid var(--color-border);
	border-radius: 4px;
	font-family: var(--font-primary);
}

textarea.form-control {
	resize: vertical;
	min-height: 150px;
}

/* Responsive */
@media (max-width: 1200px) {
    .header {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    .menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .logo-text h2, .logo-text h2 a {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
	.hero h1 {
		font-size: 2.2rem;
	}
	.hero-actions {
		flex-direction: column;
	}
	.menu {
		display: none;
		flex-direction: column;
		align-items: center;
		width: 100%;
	}
	.menu.toggled {
		display: flex;
	}
	.menu-toggle {
		display: block;
		position: absolute;
		right: 20px;
		top: 30px;
	}
	.quote-btn {
		display: none;
	}
}
