/*
Theme Name: GOCL Pemula
Author: Nabil Okta
Description: Tema sederhana untuk situs PT Graha Optima Cipta Lestari.
Version: 1.0
*/

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	line-height: 1.6;
	color: #333333;
	background: #ffffff;
}

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

a {
	color: #1c6bb0;
}

a:hover {
	color: #0f4c81;
}

h1,
h2,
h3,
h4 {
	font-family: "Times New Roman", Times, serif;
	color: #222222;
	line-height: 1.25;
	margin: 0 0 12px;
}

h1 {
	font-size: 36px;
}

h2 {
	font-size: 28px;
}

h3 {
	font-size: 20px;
}

p {
	margin: 0 0 14px;
}

.wrap {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 15px;
}

/* Bar atas */
.topbar {
	background: #f2f2f2;
	border-bottom: 1px solid #dddddd;
	font-size: 12px;
	text-align: right;
	padding: 6px 0;
}

.topbar a {
	text-decoration: none;
}

/* Header */
.site-header {
	padding: 18px 0;
	text-align: center;
}

.site-logo {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.site-logo img {
	width: 150px;
	margin: 0;
}

.logo-suffix {
	font-weight: 700;
	font-size: 14px;
	white-space: nowrap;
}

/* Menu */
.site-nav {
	background: #f7f7f7;
	border-top: 1px solid #dddddd;
	border-bottom: 1px solid #dddddd;
}

.site-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.site-nav a {
	display: block;
	padding: 12px 16px;
	font-size: 13px;
	font-weight: bold;
	text-transform: uppercase;
	text-decoration: none;
	color: #1c6bb0;
}

.site-nav a:hover {
	background: #e8eef5;
}

.site-nav .current-menu-item > a {
	background: #1c6bb0;
	color: #ffffff;
}

/* Tombol */
.btn {
	display: inline-block;
	background: #1c6bb0;
	color: #ffffff;
	text-decoration: none;
	padding: 12px 24px;
	border: 0;
	border-radius: 2px;
	font-size: 14px;
	font-weight: bold;
}

.btn:hover {
	background: #155a95;
	color: #ffffff;
}

.btn-light {
	background: #ffffff;
	color: #1c6bb0;
}

.btn-light:hover {
	background: #e8eef5;
	color: #1c6bb0;
}

/* Hero */
.hero {
	position: relative;
	min-height: 420px;
	padding: 80px 0;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #ffffff;
}

.hero h1 {
	color: #ffffff;
	font-size: 44px;
	margin-bottom: 10px;
}

.hero p {
	font-size: 18px;
	max-width: 700px;
	margin: 0 auto 20px;
}

/* Section */
.section {
	padding: 40px 0;
}

.section-alt {
	background: #f7f7f7;
}

.section-title {
	font-size: 28px;
	border-bottom: 2px solid #1c6bb0;
	padding-bottom: 8px;
	margin-bottom: 24px;
}

/* Grid */
.grid {
	display: grid;
	gap: 20px;
}

.grid-2 {
	grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
	grid-template-columns: repeat(3, 1fr);
}

/* Logo klien */
.client-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 12px;
}

.client-grid img {
	width: 100%;
	height: 90px;
	object-fit: contain;
	background: #ffffff;
	border: 1px solid #dddddd;
	padding: 10px;
}

/* Kartu produk */
.card {
	border: 1px solid #dddddd;
	padding: 12px;
	background: #ffffff;
}

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

.card .cat {
	font-size: 12px;
	color: #555555;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 0 0 4px;
}

.card h3 {
	font-size: 18px;
	margin: 0;
}

/* Daftar nilai */
.value-list {
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.value-list li {
	border: 1px solid #1c6bb0;
	color: #1c6bb0;
	padding: 6px 14px;
	border-radius: 2px;
	font-size: 13px;
	font-weight: bold;
}

/* Portfolio */
.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.portfolio-grid img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	border: 1px solid #dddddd;
}

/* Foto tim dan tentang */
.team-img {
	margin-top: 20px;
	border: 1px solid #dddddd;
}

/* CTA */
.cta {
	background: #1c6bb0;
	color: #ffffff;
	padding: 40px 0;
	text-align: center;
}

.cta h2 {
	color: #ffffff;
}

.cta p {
	max-width: 700px;
	margin: 0 auto 20px;
}

/* Kotak kontak */
.info-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 20px;
}

.info-box {
	border: 1px solid #dddddd;
	background: #ffffff;
	padding: 16px;
}

.info-box h3 {
	font-size: 18px;
	margin-bottom: 6px;
}

.info-box p {
	margin: 0;
	font-size: 14px;
}

/* Halaman biasa */
.page-wrap {
	padding: 35px 0 45px;
}

.page-title {
	font-size: 34px;
	margin-bottom: 20px;
}

.entry h2 {
	margin-top: 28px;
}

.entry ul {
	padding-left: 22px;
	margin: 0 0 14px;
}

.entry img {
	margin: 10px 0;
}

/* Footer */
.site-footer {
	background: #333333;
	color: #cccccc;
	padding: 36px 0 0;
	font-size: 14px;
}

.site-footer h3 {
	color: #ffffff;
	font-size: 16px;
	margin-bottom: 12px;
}

.site-footer a {
	color: #cccccc;
	text-decoration: none;
}

.site-footer a:hover {
	color: #ffffff;
	text-decoration: underline;
}

.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer li {
	margin-bottom: 6px;
}

.footer-cols {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.footer-bottom {
	border-top: 1px solid #555555;
	margin-top: 24px;
	padding: 14px 0;
	font-size: 13px;
	text-align: center;
}

.footer-bottom p {
	margin: 0;
}

/* Layar kecil */
@media (max-width: 900px) {
	.grid-3,
	.info-grid,
	.footer-cols {
		grid-template-columns: repeat(2, 1fr);
	}

	.portfolio-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.grid-2,
	.grid-3,
	.info-grid,
	.footer-cols {
		grid-template-columns: 1fr;
	}

	.hero {
		min-height: 340px;
		padding: 50px 0;
	}

	.hero h1 {
		font-size: 28px;
	}

	.page-title {
		font-size: 28px;
	}

	.site-nav ul {
		flex-direction: column;
	}

	.site-nav a {
		text-align: center;
		border-bottom: 1px solid #e5e5e5;
	}
}
