/*
Theme Name: Tent Rental UAE - Astra Child
Theme URI: https://example.com/
Description: Elementor-ready Astra child theme for a UAE tent rental and event marquee company.
Author: Tent Rental UAE
Template: astra
Version: 1.0.0
Text Domain: tent-rental-astra
*/

:root {
  --tent-navy: #061b2d;
  --tent-blue: #0c3357;
  --tent-blue-2: #123e68;
  --tent-gold: #f5ad25;
  --tent-ink: #0a1a29;
  --tent-muted: #68737d;
  --tent-line: #d9dde0;
  --tent-cream: #f7f4ed;
  --tent-white: #ffffff;
  --tent-max: 1180px;
}

html { scroll-behavior: smooth; }
body.tent-home { margin: 0; background: var(--tent-white); color: var(--tent-ink); font-family: Arial, Helvetica, sans-serif; }
body.tent-home * { box-sizing: border-box; }
body.tent-home a { color: inherit; text-decoration: none; }
body.tent-home img { display: block; max-width: 100%; }
.tent-container { width: min(var(--tent-max), calc(100% - 48px)); margin: 0 auto; }
.tent-kicker { display: inline-flex; align-items: center; gap: 10px; color: #9b6a09; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.tent-kicker::before { content: ""; width: 28px; height: 2px; background: var(--tent-gold); }
.tent-section { padding: 104px 0; }
.tent-section h2 { margin: 25px 0 20px; font-size: clamp(40px, 5vw, 60px); line-height: 1.02; font-weight: 400; letter-spacing: -.04em; }
.tent-lead { color: var(--tent-muted); font-size: 18px; line-height: 1.75; }
.tent-btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 12px; padding: 0 22px; border: 1px solid transparent; border-radius: 2px; font-weight: 800; font-size: 14px; transition: transform .2s ease, background .2s ease; }
.tent-btn:hover { transform: translateY(-2px); }
.tent-btn--gold { background: var(--tent-gold); color: var(--tent-ink) !important; }
.tent-btn--line { border-color: rgba(255,255,255,.45); color: #fff !important; }

.tent-topbar { background: #041524; color: #cfd7de; font-size: 13px; }
.tent-topbar__inner { min-height: 36px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.tent-site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.tent-header__inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.tent-brand { display: inline-flex; align-items: center; gap: 12px; }
.tent-brand__mark { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 7px; color: var(--tent-gold); background: #0c3357; font-size: 24px; }
.tent-brand strong { display: block; font-size: 16px; letter-spacing: .08em; }
.tent-brand small { display: block; margin-top: 3px; color: #7a838b; font-size: 8px; letter-spacing: .18em; }
.tent-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 800; }
.tent-menu-toggle { display: none; border: 0; background: none; font-size: 28px; color: var(--tent-ink); }

.tent-hero { position: relative; overflow: hidden; padding: 75px 0 0; color: #fff; background-color: #082c4b; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 36px 36px; }
.tent-hero__grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 55px; padding-bottom: 82px; }
.tent-hero .tent-kicker { color: var(--tent-gold); }
.tent-hero h1 { margin: 24px 0 25px; font-size: clamp(52px, 6vw, 76px); line-height: .98; font-weight: 300; letter-spacing: -.045em; }
.tent-hero h1 span { display: block; color: var(--tent-gold); }
.tent-hero__copy p { max-width: 650px; color: #c9d3dc; font-size: 19px; line-height: 1.65; }
.tent-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.tent-ticks { display: flex; gap: 28px; margin-top: 30px; color: #c7d1db; font-size: 13px; flex-wrap: wrap; }
.tent-ticks span::before { content: "✓"; display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 8px; border: 1px solid var(--tent-gold); border-radius: 50%; color: var(--tent-gold); font-size: 11px; }
.tent-hero__visual { position: relative; min-height: 470px; border: 1px solid rgba(255,255,255,.18); }
.tent-hero__visual img { width: 100%; height: 470px; object-fit: cover; }
.tent-hero__badge { position: absolute; right: 20px; bottom: 28px; padding: 18px 22px; background: #fff; border-left: 3px solid var(--tent-gold); color: var(--tent-ink); box-shadow: 0 14px 28px rgba(0,0,0,.2); }
.tent-hero__badge strong { display: block; }
.tent-hero__badge small { color: #78838d; }
.tent-usebar { border-top: 1px solid rgba(255,255,255,.12); }
.tent-usebar__inner { min-height: 78px; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); align-items: center; gap: 18px; }
.tent-usebar small { color: #8fa3b4; letter-spacing: .16em; }
.tent-usebar strong { color: #d9e2e9; }
.tent-usebar strong::before { content: "▱"; color: var(--tent-gold); margin-right: 10px; }

.tent-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; margin-bottom: 52px; }
.tent-products { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--tent-line); }
.tent-card { min-height: 342px; padding: 30px 26px; border-right: 1px solid var(--tent-line); display: flex; flex-direction: column; }
.tent-card:last-child { border-right: 0; }
.tent-card__top { display: flex; justify-content: space-between; color: #aeb5bb; font-size: 12px; }
.tent-card__icon { color: #0f5587; font-size: 27px; }
.tent-card h3 { margin: 48px 0 16px; font-size: 21px; font-weight: 500; }
.tent-card p { margin: 0; color: var(--tent-muted); font-size: 14px; line-height: 1.65; }
.tent-card__note { margin-top: 18px !important; font-size: 11px !important; }
.tent-card__note::before { content: "✓"; color: #a77814; margin-right: 8px; }
.tent-card a { display: flex; justify-content: space-between; padding-top: 18px; margin-top: auto; border-top: 1px solid var(--tent-line); font-size: 13px; font-weight: 800; }

.tent-specs { background: var(--tent-navy); color: #fff; }
.tent-specs__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 85px; align-items: center; }
.tent-specs .tent-kicker { color: var(--tent-gold); }
.tent-specs .tent-lead { color: #aebdca; }
.tent-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 55px; margin-top: 45px; }
.tent-benefit strong { display: block; font-size: 14px; }
.tent-benefit strong::before { content: "✦"; color: var(--tent-gold); margin-right: 11px; }
.tent-benefit small { display: block; margin: 5px 0 0 26px; color: #8295a5; }
.tent-spec-card { background: var(--tent-cream); color: var(--tent-ink); padding: 40px; box-shadow: 18px 18px 0 rgba(255,255,255,.08); }
.tent-spec-card h3 { margin: 16px 0 30px; font-size: 29px; font-weight: 400; }
.tent-spec-row { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; border-top: 1px solid #dad7cf; font-size: 13px; }
.tent-spec-row span { color: #737b82; }
.tent-spec-card .tent-btn { width: 100%; margin-top: 24px; }

.tent-areas { background: #f4efe5; text-align: center; }
.tent-areas .tent-intro { display: block; max-width: 770px; margin: 0 auto 48px; }
.tent-area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: left; }
.tent-area { min-height: 310px; position: relative; padding: 38px 35px; background: #fff; border: 1px solid #d9d6cf; }
.tent-area:first-child { background: #0b365d; color: #fff; }
.tent-area__num { position: absolute; right: 25px; top: 28px; color: rgba(12,51,87,.07); font-size: 54px; font-weight: 800; }
.tent-area:first-child .tent-area__num { color: rgba(255,255,255,.08); }
.tent-area h3 { margin: 50px 0 18px; font-size: 25px; font-weight: 500; }
.tent-area p { color: var(--tent-muted); font-size: 14px; line-height: 1.7; }
.tent-area:first-child p { color: #b9c8d5; }
.tent-area a { position: absolute; bottom: 35px; color: #a46f08; font-size: 13px; font-weight: 800; }
.tent-area-note { margin-top: 28px; color: #6e7479; font-size: 13px; }

.tent-process { text-align: center; }
.tent-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 65px; }
.tent-step { position: relative; padding: 0 25px; }
.tent-step:not(:last-child)::after { content: ""; position: absolute; top: 20px; left: calc(50% + 22px); width: calc(100% - 44px); height: 1px; background: var(--tent-line); }
.tent-step__num { position: relative; z-index: 1; display: inline-grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: var(--tent-gold); font-weight: 800; }
.tent-step h3 { margin: 28px 0 9px; font-size: 16px; }
.tent-step p { color: var(--tent-muted); font-size: 13px; line-height: 1.6; }

.tent-faq { background: #fbfaf6; }
.tent-faq__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; }
.tent-faq__list { border-top: 1px solid var(--tent-line); }
.tent-faq details { padding: 24px 0; border-bottom: 1px solid var(--tent-line); }
.tent-faq summary { list-style: none; cursor: pointer; font-weight: 800; }
.tent-faq summary::-webkit-details-marker { display: none; }
.tent-faq summary::after { content: "+"; float: right; color: #a77814; font-size: 20px; }
.tent-faq details[open] summary::after { content: "−"; }
.tent-faq details p { color: var(--tent-muted); line-height: 1.8; font-size: 14px; padding-right: 35px; }

.tent-quote { background: #103b66; color: #fff; }
.tent-quote__grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: start; }
.tent-quote .tent-kicker { color: var(--tent-gold); }
.tent-quote h2 { max-width: 420px; }
.tent-quote .tent-lead { color: #c1ced9; }
.tent-contact-line { margin-top: 40px; padding: 25px 0; border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.tent-contact-line small { display: block; color: #9fb0bf; }
.tent-contact-line strong { display: block; margin-top: 5px; }
.tent-form { padding: 36px; background: #fff; color: var(--tent-ink); }
.tent-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px 18px; }
.tent-field--wide { grid-column: 1 / -1; }
.tent-field label { display: block; margin-bottom: 9px; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.tent-field input, .tent-field select, .tent-field textarea { width: 100%; border: 1px solid #d4d8dc; border-radius: 0; background: #fbfbfb; color: var(--tent-ink); padding: 15px; font: inherit; }
.tent-field textarea { min-height: 118px; resize: vertical; }
.tent-form button { width: 100%; margin-top: 22px; border: 0; cursor: pointer; }
.tent-form-note { color: #7c8389; text-align: center; font-size: 11px; }

.tent-footer { background: #041524; color: #8fa0ae; padding: 70px 0 25px; }
.tent-footer__grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 70px; }
.tent-footer .tent-brand strong { color: #fff; }
.tent-footer p, .tent-footer a { font-size: 12px; line-height: 1.9; }
.tent-footer h3 { color: #fff; font-size: 13px; }
.tent-footer ul { margin: 18px 0 0; padding: 0; list-style: none; }
.tent-footer__bottom { display: flex; justify-content: space-between; margin-top: 65px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; }

@media (max-width: 980px) {
  .tent-nav { display: none; position: absolute; left: 0; right: 0; top: 78px; padding: 22px 24px; background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.12); flex-direction: column; align-items: stretch; }
  .tent-nav.is-open { display: flex; }
  .tent-menu-toggle { display: block; }
  .tent-hero__grid, .tent-specs__grid, .tent-quote__grid, .tent-faq__grid { grid-template-columns: 1fr; }
  .tent-products { grid-template-columns: 1fr 1fr; }
  .tent-card:nth-child(2) { border-right: 0; }
  .tent-card:nth-child(-n+2) { border-bottom: 1px solid var(--tent-line); }
  .tent-usebar__inner { grid-template-columns: repeat(2, 1fr); padding: 25px 0; }
  .tent-usebar__inner small { grid-column: 1 / -1; }
  .tent-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .tent-footer__grid > :last-child { grid-column: 2 / -1; }
}

@media (max-width: 700px) {
  .tent-container { width: min(100% - 32px, var(--tent-max)); }
  .tent-topbar__inner { justify-content: center; text-align: center; }
  .tent-topbar__inner span:first-child { display: none; }
  .tent-section { padding: 72px 0; }
  .tent-section h2 { font-size: 40px; }
  .tent-hero { padding-top: 55px; }
  .tent-hero h1 { font-size: 50px; }
  .tent-hero__visual, .tent-hero__visual img { min-height: 330px; height: 330px; }
  .tent-intro, .tent-area-grid, .tent-process-grid, .tent-form-grid, .tent-footer__grid { grid-template-columns: 1fr; }
  .tent-products { grid-template-columns: 1fr; }
  .tent-card, .tent-card:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--tent-line); }
  .tent-card:last-child { border-bottom: 0; }
  .tent-benefits { grid-template-columns: 1fr; }
  .tent-usebar__inner { grid-template-columns: 1fr 1fr; }
  .tent-area { min-height: 285px; }
  .tent-step { padding: 0 10px 35px; }
  .tent-step:not(:last-child)::after { width: 1px; height: 35px; top: 43px; left: 50%; }
  .tent-field--wide, .tent-footer__grid > :last-child { grid-column: auto; }
  .tent-footer__bottom { display: block; }
  .tent-footer__bottom span { display: block; margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .tent-btn { transition: none; } }

/* Elementor edition helpers */
body.tent-home .site-content,
body.tent-home .ast-container,
body.tent-home .entry-content { width: 100%; max-width: none; margin: 0; padding: 0; }
.tent-el-kicker .elementor-heading-title { letter-spacing: .18em; text-transform: uppercase; }
.tent-el-hero { background-color: #082c4b; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 36px 36px; }
.tent-el-card { border: 1px solid #d9dde0; transition: transform .2s ease, box-shadow .2s ease; }
.tent-el-card:hover { transform: translateY(-4px); box-shadow: 0 16px 35px rgba(6,27,45,.1); }
.tent-el-spec-card { box-shadow: 18px 18px 0 rgba(255,255,255,.08); }
.tent-el-faq .elementor-toggle-item { border-bottom: 1px solid #d9dde0; }
.tent-el-faq .elementor-tab-title { padding: 22px 0 !important; }
.tent-el-faq .elementor-tab-content { padding: 0 0 22px !important; }
.tent-el-footer a { color: #aab8c4; }
.tent-inline-hero { overflow: hidden; border: 1px solid #496781; background: #0a2743; }
.tent-inline-hero svg { display: block; width: 100%; height: auto; }
.tent-shortcode-form { padding: 36px; background: #fff; color: #0a1a29; }
.tent-shortcode-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.tent-shortcode-form label { display: block; margin-bottom: 8px; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.tent-shortcode-form input, .tent-shortcode-form select, .tent-shortcode-form textarea { width: 100%; border: 1px solid #d4d8dc; border-radius: 0; background: #fbfbfb; padding: 14px; }
.tent-shortcode-form textarea { min-height: 115px; resize: vertical; }
.tent-shortcode-form__wide { grid-column: 1/-1; }
.tent-shortcode-form button { width: 100%; margin-top: 20px; padding: 16px; border: 0; background: #f5ad25; color: #0a1a29; font-weight: 800; cursor: pointer; }
@media (max-width: 700px) { .tent-shortcode-form__grid { grid-template-columns: 1fr; } .tent-shortcode-form__wide { grid-column: auto; } }
