/*
Theme Name: إطلاق لخدمات الحفر وتدعيم التربة
Template: etlaq-company
Description: قالب شركة إطلاق المتميزة (جس التجاويف الصخرية وحقن الأسمنت) — تصميم ترابي مبني على الملف التعريفي الرسمي 2024 وصور ميدانية حقيقية.
Version: 2.0.0
Text Domain: etlaq-drilling
*/

/* ============ سلايدر الهيرو ============ */

.dr-hero { position: relative; color: #fff; overflow: hidden; }
.dr-slides { position: absolute; inset: 0; }
.dr-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	animation: dr-fade calc(var(--slides) * 6s) infinite;
	transform: scale(1.06);
}
@keyframes dr-fade {
	0% { opacity: 0; transform: scale(1.06); }
	4% { opacity: 1; }
	20% { opacity: 1; transform: scale(1); }
	26% { opacity: 0; }
	100% { opacity: 0; }
}
.dr-hero-overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to top, rgba(30, 19, 8, 0.6), rgba(30, 19, 8, 0.15) 55%),
		linear-gradient(105deg, var(--co-dark) 15%, rgba(63, 42, 20, 0.8) 40%, rgba(63, 42, 20, 0.2) 72%, rgba(138, 90, 43, 0.3));
}
.dr-hero-inner { position: relative; padding-block: 120px 90px; max-width: 720px; margin-inline-start: 0; }
.dr-hero h1 {
	color: #fff;
	font-size: clamp(2.1rem, 4.6vw, 3.4rem);
	line-height: 1.25;
	margin-bottom: 14px;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}
.dr-hero-motto { font-size: 1.35rem; font-weight: 800; color: #ecd3b3; margin-bottom: 10px; }
.dr-hero-sub { color: rgba(255, 255, 255, 0.88); font-size: 1.06rem; max-width: 36em; margin-bottom: 30px; }
.dr-hero-stats {
	position: relative;
	background: rgba(26, 16, 6, 0.55);
	backdrop-filter: blur(8px);
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* ============ من نحن ============ */

.dr-about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.dr-about-copy p { margin-bottom: 14px; }
.dr-pillars { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.dr-pillars li {
	background: color-mix(in srgb, var(--co-primary) 8%, white);
	border: 1.5px solid color-mix(in srgb, var(--co-primary) 35%, white);
	color: var(--co-primary);
	font-weight: 800;
	font-size: 0.92rem;
	border-radius: 999px;
	padding: 7px 20px;
}
.dr-mt { margin-top: 22px; }
.dr-about-media { position: relative; padding-bottom: 56px; }
.dr-about-img-main { border-radius: 18px; box-shadow: var(--shadow); width: 88%; margin-inline-start: auto; }
.dr-about-img-float {
	position: absolute;
	bottom: 0;
	inset-inline-start: 0;
	width: 50%;
	border-radius: 14px;
	border: 5px solid #fff;
	box-shadow: 0 22px 45px rgba(30, 19, 8, 0.3);
}

/* ============ الخدمتان ============ */

.dr-services { background: var(--co-soft); }
.dr-services-grid, .dr-other-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.dr-other-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
.dr-service-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.dr-service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.dr-service-media { position: relative; aspect-ratio: 16 / 8; overflow: hidden; }
.dr-service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.dr-service-card:hover .dr-service-media img { transform: scale(1.05); }
.dr-service-media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(30, 19, 8, 0.55), transparent 55%);
}
.dr-service-en {
	position: absolute;
	bottom: 12px;
	inset-inline-start: 16px;
	z-index: 1;
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.22em;
}
.dr-service-body { padding: 24px 26px 26px; }
.dr-service-body h3 { font-size: 1.3rem; margin-bottom: 8px; }
.dr-service-body p { color: var(--muted); font-size: 0.95rem; margin-bottom: 14px; }
.dr-service-more { font-weight: 800; font-size: 0.92rem; color: var(--co-primary); }

/* ============ الآليات (تيزر + صفحة) ============ */

.dr-machinery-teaser {
	background:
		radial-gradient(700px 380px at 90% 0%, rgba(255, 255, 255, 0.06), transparent 60%),
		linear-gradient(150deg, var(--co-dark), #2a1b0c);
	color: rgba(255, 255, 255, 0.85);
}
.dr-machinery-layout { display: grid; grid-template-columns: 1fr 0.9fr; gap: 52px; align-items: center; }
.dr-machinery-copy .eyebrow {
	color: #ecd3b3;
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.25);
}
.dr-machinery-copy h2 { color: #fff; margin-bottom: 14px; }
.dr-machinery-copy p { margin-bottom: 18px; }
.dr-brands { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.dr-brands li {
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	padding: 5px 16px;
	font-size: 0.82rem;
	font-weight: 700;
	color: #ecd3b3;
	letter-spacing: 0.04em;
}
.dr-machinery-media img { border-radius: 16px; box-shadow: 0 24px 55px rgba(0, 0, 0, 0.4); }

.dr-table-scroll { overflow-x: auto; }
.dr-machinery-table, .dr-projects-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}
.dr-machinery-table th, .dr-projects-table th {
	background: linear-gradient(135deg, var(--co-primary), var(--co-dark));
	color: #fff;
	padding: 14px 18px;
	font-size: 0.92rem;
	text-align: right;
}
.dr-machinery-table td, .dr-projects-table td {
	padding: 13px 18px;
	border-top: 1px solid var(--line);
	font-size: 0.93rem;
	color: var(--text);
}
.dr-machinery-table tbody tr:nth-child(even),
.dr-projects-table tbody tr:nth-child(even) { background: var(--co-soft); }
.dr-machinery-table tbody tr:hover,
.dr-projects-table tbody tr:hover { background: color-mix(in srgb, var(--co-primary) 8%, white); }
.dr-brand-cell { font-weight: 800; color: var(--co-primary); }
.dr-project-name { font-weight: 800; color: var(--ink); }
.dr-project-year { font-weight: 800; color: var(--co-primary); white-space: nowrap; }

/* ============ المشاريع (تيزر) ============ */

.dr-projects-highlight {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 34px;
}
.dr-project-chip {
	background: #fff;
	border: 1px solid var(--line);
	border-inline-start: 4px solid var(--co-primary);
	border-radius: 12px;
	padding: 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dr-project-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.dr-project-chip strong { color: var(--ink); font-size: 0.98rem; }
.dr-project-chip span { color: var(--co-primary); font-weight: 800; font-size: 0.85rem; }
.dr-center { text-align: center; }

/* ============ CTA ============ */

.dr-cta { position: relative; background-size: cover; background-position: center; color: #fff; text-align: center; }
.dr-cta-overlay { position: absolute; inset: 0; background: linear-gradient(rgba(63, 42, 20, 0.88), rgba(30, 19, 8, 0.92)); }
.dr-cta-inner { position: relative; padding-block: 80px; }
.dr-cta h2 { color: #fff; margin-bottom: 10px; }
.dr-cta p { color: rgba(255, 255, 255, 0.8); margin-bottom: 26px; font-size: 1.05rem; }

/* ============ هيرو الصفحات الداخلية ============ */

.dr-page-hero { position: relative; background-size: cover; background-position: center; color: #fff; }
.dr-page-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, var(--co-dark) 20%, rgba(63, 42, 20, 0.75) 50%, rgba(63, 42, 20, 0.35));
}
.dr-page-hero-inner { position: relative; padding-block: 84px; max-width: 700px; }
.dr-page-hero h1 { color: #fff; margin-bottom: 10px; }
.dr-page-hero p { color: rgba(255, 255, 255, 0.85); font-size: 1.05rem; }
.dr-service-en-hero { letter-spacing: 0.25em; font-weight: 700; font-size: 0.85rem !important; color: #ecd3b3 !important; }
.crumb { display: block; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 14px; font-weight: 600; }
.crumb a { color: rgba(255, 255, 255, 0.9); }
.crumb a:hover { text-decoration: underline; }
.content-mid { max-width: 820px; }

/* ============ الرؤية والرسالة ============ */

.dr-vm { background: var(--co-soft); }
.dr-vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.dr-vm-card {
	background: #fff;
	border: 1px solid var(--line);
	border-top: 4px solid var(--co-primary);
	border-radius: var(--radius);
	padding: 34px 30px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.dr-vm-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.dr-vm-icon {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: color-mix(in srgb, var(--co-primary) 10%, white);
	color: var(--co-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
	margin-bottom: 16px;
}
.dr-vm-icon svg { width: 100%; height: 100%; }
.dr-vm-card h2 { font-size: 1.35rem; margin-bottom: 10px; }
.dr-vm-card p { color: var(--muted); }

/* ============ الفريق ============ */

.dr-team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 36px; }
.dr-team-stat {
	background: linear-gradient(150deg, var(--co-dark), var(--co-primary));
	border-radius: var(--radius);
	color: #fff;
	text-align: center;
	padding: 26px 14px;
}
.dr-team-stat strong { display: block; font-size: 2.1rem; font-weight: 900; line-height: 1.2; }
.dr-team-stat span { font-size: 0.88rem; color: rgba(255, 255, 255, 0.8); font-weight: 600; }
.dr-team-media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dr-team-media img { border-radius: 14px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* ============ نقاط الخدمة (أيقونات) ============ */

.dr-svc-points { background: var(--co-soft); }
.dr-points-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.dr-point-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px 26px;
	display: flex;
	gap: 18px;
	align-items: flex-start;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.dr-point-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dr-point-icon {
	flex: 0 0 auto;
	width: 54px;
	height: 54px;
	border-radius: 14px;
	background: color-mix(in srgb, var(--co-primary) 10%, white);
	color: var(--co-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
}
.dr-point-icon svg { width: 100%; height: 100%; }
.dr-point-card h3 { margin-bottom: 6px; }
.dr-point-card p { color: var(--muted); font-size: 0.93rem; }

/* ============ صور الخدمة والمعرض ============ */

.dr-photos-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dr-photo-item { margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; }
.dr-photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.dr-photo-item:hover img { transform: scale(1.06); }

.dr-gallery { background: var(--co-dark); }
.dr-gallery .eyebrow { color: #ecd3b3; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.25); }
.dr-gallery h2 { color: #fff; }
.dr-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dr-gallery-item { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; margin: 0; }
.dr-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.dr-gallery-item:hover img { transform: scale(1.07); }
.dr-gallery-item figcaption {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	padding: 26px 14px 12px;
	font-size: 0.82rem;
	font-weight: 700;
	color: #fff;
	background: linear-gradient(to top, rgba(20, 12, 4, 0.85), transparent);
	opacity: 0;
	transform: translateY(8px);
	transition: all 0.3s ease;
}
.dr-gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }

/* ============ Responsive ============ */

@media (max-width: 960px) {
	.dr-hero-inner { padding-block: 80px 60px; text-align: center; margin-inline: auto; }
	.dr-about-grid, .dr-machinery-layout, .dr-vm-grid { grid-template-columns: 1fr; gap: 32px; }
	.dr-services-grid, .dr-points-grid { grid-template-columns: 1fr; }
	.dr-projects-highlight { grid-template-columns: 1fr 1fr; }
	.dr-gallery-grid { grid-template-columns: repeat(2, 1fr); }
	.dr-team-grid { grid-template-columns: repeat(2, 1fr); }
	.dr-photos-row, .dr-team-media { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
	.dr-projects-highlight { grid-template-columns: 1fr; }
	.dr-gallery-grid { grid-template-columns: 1fr; }
	.dr-hero-motto { font-size: 1.15rem; }
}
