/*
Theme Name: Big D's Concrete
Theme URI: https://bigdsconcretellc.com/
Author: Big D's Concrete LLC
Description: Custom theme for Big D's Concrete LLC – a copy of the original Elementor design (brown / black / beige). Includes homepage sections, service-area page template, blog, and a built-in appointment form.
Version: 2.2.0
Requires at least: 5.8
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: bigds
*/

:root {
	--primary: #9e7148;
	--primary-dark: #865d38;
	--dark: #000000;
	--navy: #050816;
	--beige: #f3eee8;
	--heading: #000000;
	--heading-2: #1c1c1c;
	--text: #61657e;
	--white: #fff;
	--head-font: "Poppins", sans-serif;
	--body-font: "DM Sans", sans-serif;
	--ui-font: "Roboto", sans-serif;
	--wrap: 1440px;
	--inner: 1380px; /* one width for every section (content = 1350px) */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body-font); font-size: 16px; line-height: 1.75; color: var(--text); background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: .3s; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4, h5, h6 { font-family: var(--head-font); color: var(--heading); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }

/* Layout: the original site is "boxed" – sections are 1440px wide, content ~1260px */
.wrap { width: 100%; max-width: none; margin: 0; } /* sections are full width; content stays centred in .inner */
.inner { width: 100%; max-width: var(--inner); margin: 0 auto; padding: 0 15px; }

.sub-title { display: block; font-family: var(--head-font); font-weight: 400; font-size: 16px; color: var(--primary); margin-bottom: 8px; }
.section-title { font-size: 38px; font-weight: 700; color: var(--heading); }
.text-center { text-align: center; }

.btn { display: inline-flex; align-items: center; gap: 12px; background: var(--primary); color: #fff; font-family: var(--head-font); font-weight: 400; font-size: 16px; padding: 14px 28px; border-radius: 3px; border: 0; cursor: pointer; line-height: 1.2; transition: .3s; }
.btn:hover { background: #000; color: #fff; }
.btn svg { width: 15px; height: 15px; fill: currentColor; }

/* ===== Header ===== */
.site-header { background: #fff; position: relative; z-index: 50; }
.header-inner { max-width: var(--inner); margin: 0 auto; padding: 18px 15px; display: grid; grid-template-columns: 220px 1fr 220px; align-items: center; }
.site-logo img { width: 138px; height: 138px; object-fit: contain; }
.site-logo .logo-text { font-family: var(--head-font); font-size: 24px; font-weight: 800; color: #000; }
.main-nav { justify-self: center; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.main-nav li { position: relative; }
.main-nav a { display: block; color: var(--heading-2); font-family: var(--ui-font); font-weight: 600; font-size: 16px; padding: 13px 17px; position: relative; }
.main-nav > ul > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--primary); transform: scaleX(0); transition: .3s; }
.main-nav > ul > li.current-menu-item > a, .main-nav a:hover { color: var(--primary); }
.main-nav > ul > li.current-menu-item > a::after, .main-nav > ul > li > a:hover::after { transform: scaleX(1); }
.main-nav .menu-item-has-children > a { padding-right: 32px; }
.main-nav .menu-item-has-children > a::before { content: ""; position: absolute; right: 14px; top: 50%; margin-top: -2px; border: 5px solid transparent; border-top-color: currentColor; }
.main-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 210px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.1); padding: 8px 0; display: block; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { padding: 8px 20px; font-weight: 500; }
.header-cta { justify-self: end; align-self: start; display: flex; gap: 10px; align-items: center; }
.btn-contact { font-family: var(--ui-font); font-weight: 600; font-size: 19px; text-transform: uppercase; padding: 12px 24px; border-radius: 3px; }
.menu-toggle { display: none; background: var(--primary); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 3px; font-size: 22px; cursor: pointer; }

/* ===== Hero (black box + rounded image, like the original slider) ===== */
.hero { padding: 70px 0 60px; }
.hero-stage { position: relative; max-width: var(--inner); margin: 0 auto; padding: 0 15px; min-height: 860px; }
.hero-img { position: absolute; right: 15px; top: 0; width: calc(70% - 15px); height: 690px; background: #333 center/cover no-repeat; border-radius: 200px 0 0 12px; }
.hero-box { position: absolute; left: 15px; top: 182px; width: calc(55% - 15px); min-height: 658px; background: #000 right bottom no-repeat; border-radius: 0 150px 12px 0; padding: 105px 60px 60px 200px; color: #fff; }
.hero-vertical { position: absolute; left: 75px; bottom: 0; writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--head-font); font-weight: 700; font-size: 62px; line-height: 1; color: #1e1e1e; white-space: nowrap; }
.hero-vertical span { display: block; }
.hero-eyebrow { font-family: var(--head-font); font-size: 25px; font-weight: 500; color: var(--primary); margin-bottom: 10px; }
.hero-box h1 { color: #fff; font-size: 50px; line-height: 1.2; margin-bottom: 18px; }
.hero-box p { font-size: 18px; color: #fff; line-height: 1.6; margin-bottom: 40px; }
.hero-box .btn { padding: 14px 22px; }

/* ===== Services ===== */
.services { padding: 0 0 0; }
.services .wrap { background: var(--beige); padding: 40px 0 90px; }
.services-head { text-align: center; margin-bottom: 40px; }
.services-head .section-title { max-width: 900px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.services-item { position: relative; border-radius: 5px; overflow: hidden; background: #222 center/cover no-repeat; padding: 50px 45px; min-height: 317px; display: flex; flex-direction: column; justify-content: flex-end; }
.services-item::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100.16deg, rgba(0,0,0,.44) 1.96%, rgba(28,28,28,0) 198%); transition: .4s; }
.services-item:hover::before { background: rgba(0,0,0,.55); }
.services-item > * { position: relative; }
.svc-icon { width: 100px; height: 100px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; margin-bottom: 30px; transition: .35s; }
.svc-icon img { width: 46px; height: 46px; object-fit: contain; filter: brightness(0) invert(1); }
.services-item h3 { color: #fff; font-size: 26px; font-weight: 600; margin: 0; line-height: 1.25; }
.svc-hover { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s ease, opacity .35s, margin .35s; }
.svc-hover p { color: #fff; font-size: 15px; line-height: 1.6; margin: 0 0 12px; }
.svc-hover a { color: #fff; font-family: var(--head-font); font-size: 16px; padding-left: 8px; }
.services-item:hover .svc-icon { height: 0; margin: 0; opacity: 0; }
.services-item:hover { justify-content: flex-start; }
.services-item:hover .svc-hover { max-height: 260px; opacity: 1; margin-top: 30px; }

/* ===== About ===== */
.about .wrap { background: #fff center/cover no-repeat; padding: 90px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text .section-title { margin-bottom: 25px; }
.about-text p { font-size: 15px; line-height: 1.75; margin-bottom: 30px; }
.about-gallery { display: grid; grid-template-columns: 265px 315px; gap: 18px; justify-content: end; }
.about-col { display: flex; flex-direction: column; gap: 18px; }
.about-col img { width: 100%; object-fit: cover; border-radius: 5px; }
.exp-box { background: var(--primary) 18px 14px / 72px no-repeat; color: #fff; border-radius: 5px 30px 5px 5px; padding: 32px 30px 26px; height: 200px; display: flex; flex-direction: column; justify-content: center; }
.exp-box strong { font-family: var(--head-font); font-size: 42px; font-weight: 700; line-height: 1; }
.exp-box span { font-family: var(--head-font); font-size: 34px; font-weight: 600; line-height: 1.15; }
.exp-box span small { display: block; font-size: 30px; font-weight: 500; }
.about-col .img-a { height: 295px; }
.about-col .img-b { height: 365px; border-radius: 5px 40px 5px 5px; }
.about-col .img-c { height: 180px; }

/* ===== Booking ===== */
.booking .wrap { position: relative; }
.booking-band { background: #222 center/cover no-repeat; min-height: 446px; padding: 60px 0 0; }
.booking-band .section-title { color: #fff; margin: 0; }
.booking-card { position: relative; max-width: calc(var(--inner) - 30px); margin: -300px auto 0; background: #fff center/cover no-repeat; border-radius: 5px; padding: 55px; box-shadow: 0 10px 40px rgba(0,0,0,.06); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; height: 42px; padding: 8px 14px; border: 1px solid #d6d6d6; border-radius: 3px; background: #fff; font-family: var(--ui-font); font-size: 15px; color: #333; }
.form-grid select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23444'/%3E%3C/svg%3E") right 14px center no-repeat; color: #555; }
.form-grid select:invalid { color: #9a9a9a; }
.form-grid input::placeholder, .form-grid textarea::placeholder { color: #9a9a9a; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: none; border-color: var(--primary); }
.form-grid textarea { height: 88px; resize: vertical; }
.form-grid button { width: 100%; justify-content: center; font-family: var(--ui-font); font-weight: 600; font-size: 15px; padding: 13px; margin-top: 10px; }
.hp-field { position: absolute; left: -9999px; }
.form-notice { padding: 12px 16px; border-radius: 3px; margin-bottom: 18px; font-weight: 500; }
.form-notice.success { background: #e7f5ec; color: #1d6b3a; }
.form-notice.error { background: #fbeaea; color: #a32020; }

/* ===== Projects ===== */
.projects { padding-top: 60px; }
.projects .wrap { background: var(--navy) center/cover no-repeat; padding: 30px 0 25px; }
.projects .section-title { color: #fff; margin-bottom: 30px; }
.carousel { position: relative; max-width: var(--inner); margin: 0 auto; padding: 0 15px; }
.carousel .carousel-viewport { margin: 0 -7px; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; align-items: center; transition: transform .6s ease; }
.carousel-slide { flex: 0 0 33.3333%; padding: 0 7px; }
.carousel-slide img { width: 100%; border: 5px solid #fff; border-radius: 5px; object-fit: cover; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: none; border: 0; color: #fff; font-size: 34px; cursor: pointer; padding: 10px 16px; line-height: 1; }
.carousel-btn.prev { left: 15px; }
.carousel-btn.next { right: 15px; }
.carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 22px; }
.carousel-dots button { width: 6px; height: 6px; border-radius: 50%; border: 0; background: #fff; padding: 0; cursor: pointer; opacity: .9; }
.carousel-dots button.active { background: var(--primary); }

/* ===== FAQ ===== */
.faq .wrap { background: #fff center/cover no-repeat; padding: 20px 0 30px; }
.faq-head { text-align: center; margin-bottom: 45px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; align-items: center; }
.faq-item { background: #fff; box-shadow: 0 10px 10px rgba(198,198,198,.19); margin-bottom: 22px; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 18px 50px 18px 22px; font-family: var(--head-font); font-size: 16px; font-weight: 500; color: #000; cursor: pointer; position: relative; line-height: 1.4; }
.faq-q::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: #000; }
.faq-item.active .faq-q { color: var(--primary); }
.faq-item.active .faq-q::after { content: "−"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 4px 22px 22px; margin: 0; border-top: 1px solid #eee; padding-top: 18px; }
.faq-images { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.faq-images img { width: 100%; height: 545px; object-fit: cover; border-radius: 8px; }
.faq-images img:last-child { border-radius: 8px 90px 8px 8px; }
.faq-badge { position: absolute; left: 50%; bottom: 55px; transform: translateX(-35%); background: #fff; border-radius: 8px; padding: 6px 70px; font-family: var(--head-font); font-size: 72px; font-weight: 400; line-height: 1.2; color: #fff; -webkit-text-stroke: 2px #0c1734; letter-spacing: 4px; }

/* ===== Reviews + Useful links (bottom area of the original) ===== */
.site-footer .wrap { padding: 20px 0 80px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.review-logos { display: flex; flex-direction: column; gap: 22px; padding-left: 0; }
.review-logos img { width: 175px; height: auto; }
.useful-links h3 { font-family: var(--body-font); font-size: 26px; font-weight: 700; color: #000; margin-bottom: 8px; }
.useful-links p { font-weight: 700; color: #000; margin-bottom: 8px; }
.useful-links ul { list-style: none; margin: 0; padding: 0; }
.useful-links li { border-bottom: 1px solid #000; }
.useful-links li:nth-child(even) { border-bottom-color: #ddd; }
.useful-links ul a { display: flex; align-items: center; gap: 10px; padding: 8px 4px; color: #000; font-size: 14px; }
.useful-links ul a::before { content: "›"; font-size: 22px; line-height: 1; font-weight: 700; }
.useful-links ul a:hover { color: var(--primary); }
.footer-contact { margin-top: 22px; font-size: 15px; color: #000; }
.footer-contact a { color: #000; }
.footer-contact a:hover { color: var(--primary); }

/* ===== Inner pages / Blog ===== */
.page-banner { background: #000 center/cover no-repeat; padding: 100px 20px; text-align: center; }
.page-banner h1 { color: #fff; font-size: clamp(30px, 4.5vw, 48px); margin: 0; }
.breadcrumbs { color: #ddd; margin-top: 8px; }
.breadcrumbs a { color: var(--primary); }
.content-area { padding: 80px 0; }
.blog-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 45px; }
.posts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.post-card { background: #fff; border-radius: 5px; box-shadow: 0 10px 30px rgba(0,0,0,.07); overflow: hidden; display: flex; flex-direction: column; }
.post-card .thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-card .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-card h2 { font-size: 21px; }
.post-card h2 a { color: #000; }
.post-card h2 a:hover { color: var(--primary); }
.post-card .read-more { margin-top: auto; font-family: var(--head-font); }
.post-meta { font-size: 14px; color: var(--primary); margin-bottom: 8px; }
.sidebar .widget { background: var(--beige); padding: 28px; border-radius: 5px; margin-bottom: 28px; }
.sidebar .widget h3 { font-size: 20px; }
.sidebar .widget ul { padding-left: 18px; margin: 0; }
.sidebar-cta { background: #000 !important; color: #ddd; }
.sidebar-cta h3 { color: #fff; }
.entry-content { font-size: 17px; }
.entry-content h2, .entry-content h3 { margin-top: 1.4em; }
.entry-content img { border-radius: 5px; margin: 1em 0; }
.single-thumb img { width: 100%; border-radius: 5px; margin-bottom: 28px; }
.pagination { margin-top: 40px; display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 9px 15px; background: var(--beige); border-radius: 3px; color: #000; }
.pagination .current, .pagination a:hover { background: var(--primary); color: #fff; }
.search-form { display: flex; }
.search-form input[type=search] { flex: 1; padding: 11px; border: 1px solid #ddd; border-radius: 3px 0 0 3px; }
.search-form button, .search-form input[type=submit] { background: var(--primary); color: #fff; border: 0; padding: 11px 16px; border-radius: 0 3px 3px 0; cursor: pointer; }
.narrow { max-width: 900px; margin: 0 auto; }
.elementor-page-content { width: 100%; }

/* ===== Responsive ===== */
@media (max-width: 1400px) {
	.hero-stage { min-height: 800px; }
	.hero-box { width: calc(58% - 15px); padding-left: 170px; }
	.hero-vertical { left: 55px; font-size: 54px; }
}
@media (max-width: 1199px) {
	.header-inner { grid-template-columns: 160px 1fr auto; }
	.main-nav a { padding: 12px 10px; font-size: 15px; }
	.btn-contact { font-size: 15px; padding: 10px 16px; }
	.hero-box { width: calc(64% - 15px); padding: 70px 40px 50px 130px; min-height: 0; }
	.hero-box h1 { font-size: 42px; }
	.hero-vertical { font-size: 44px; left: 40px; }
	.services-item { padding: 40px 30px; }
	.about-gallery { grid-template-columns: 1fr 1.2fr; }
}
@media (max-width: 991px) {
	.header-inner { grid-template-columns: auto 1fr auto; }
	.site-logo img { width: 95px; height: 95px; }
	.menu-toggle { display: block; }
	.main-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 15px 30px rgba(0,0,0,.08); display: none; max-height: 75vh; overflow-y: auto; }
	.main-nav.open { display: block; }
	.main-nav ul { flex-direction: column; gap: 0; padding: 10px 20px; }
	.main-nav a { border-bottom: 1px solid #eee; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 15px; }
	.header-cta { align-self: center; }
	.hero { padding: 20px 0 40px; }
	.hero-stage { min-height: 0; padding: 0 15px; }
	.hero-img { position: relative; right: auto; width: 100%; max-width: none; height: 380px; border-radius: 120px 0 0 12px; }
	.hero-box { position: relative; left: auto; top: auto; width: 100%; margin-top: -60px; padding: 55px 30px 45px 110px; border-radius: 0 90px 12px 0; }
	.hero-vertical { left: 25px; font-size: 40px; }
	.services-grid { grid-template-columns: 1fr 1fr; }
	.about-grid, .faq-grid, .blog-layout { grid-template-columns: 1fr; }
	.about-gallery { justify-content: stretch; }
	.carousel-slide { flex-basis: 50%; }
	.booking-card { margin: -280px 15px 0; padding: 35px; }
	.faq-images img { height: 380px; }
}
@media (max-width: 640px) {
	.section-title { font-size: 28px; }
	.btn-contact { display: none; }
	.hero-box { padding: 45px 22px 40px 80px; }
	.hero-box h1 { font-size: 32px; }
	.hero-box p { font-size: 16px; }
	.hero-eyebrow { font-size: 20px; }
	.hero-vertical { font-size: 32px; left: 18px; }
	.hero-img { height: 260px; border-radius: 80px 0 0 12px; }
	.services .wrap { padding: 35px 0 50px; }
	.services-grid, .form-grid, .posts-grid, .footer-grid { grid-template-columns: 1fr; }
	.about-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
	.about-col { gap: 10px; }
	.exp-box { height: auto; padding: 22px 16px; }
	.exp-box strong { font-size: 32px; }
	.exp-box span { font-size: 22px; }
	.exp-box span small { font-size: 20px; }
	.about-col .img-a, .about-col .img-b { height: 200px; }
	.about-col .img-c { height: 140px; }
	.booking-band { min-height: 380px; padding-top: 40px; }
	.booking-band .section-title { padding-left: 20px; }
	.booking-card { margin: -250px 12px 0; padding: 22px; }
	.carousel-slide { flex-basis: 100%; }
	.faq-images img { height: 260px; }
	.faq-badge { font-size: 42px; padding: 4px 30px; bottom: 25px; transform: translateX(-50%); }
	.review-logos { padding-left: 0; }
	.useful-links { padding: 0; }
}

/* reCAPTCHA */
.g-recaptcha { margin-top: 4px; }
@media (max-width: 380px) { .g-recaptcha { transform: scale(.88); transform-origin: 0 0; } }
