/*
Theme Name: MJ Visuals UK
Theme URI: https://mjvisuals.uk
Author: MJ Visuals UK
Author URI: https://mjvisuals.uk
Description: A bespoke dark cinematic WordPress theme for drone photography, cinematic video, photography and creative web content.
Version: 1.1.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: mj-visuals-uk
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: photography, portfolio, dark, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
  --mj-bg: #05070a;
  --mj-surface: #0b0f14;
  --mj-surface-2: #111820;
  --mj-text: #f4f7fb;
  --mj-muted: #aab5c2;
  --mj-blue: #009dff;
  --mj-blue-bright: #43c7ff;
  --mj-line: rgba(0, 157, 255, .32);
  --mj-radius: 18px;
  --mj-shadow: 0 18px 60px rgba(0, 0, 0, .42);
  --mj-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--mj-text);
  background:
    radial-gradient(circle at 75% 0%, rgba(0, 157, 255, .12), transparent 32rem),
    linear-gradient(180deg, #040609, #080b10 55%, #05070a);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: var(--mj-blue-bright); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }

.mj-container { width: min(calc(100% - 36px), var(--mj-width)); margin-inline: auto; }
.mj-section { padding: 88px 0; }
.mj-eyebrow { margin: 0 0 10px; color: var(--mj-blue-bright); font-weight: 800; text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; }
.mj-title { margin: 0 0 18px; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.08; letter-spacing: -.035em; }
.mj-copy { color: var(--mj-muted); max-width: 720px; }

.site-header {
  position: sticky; top: 0; z-index: 30;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(5,7,10,.82);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-branding { display: flex; align-items: center; gap: 12px; min-width: 0; }
.site-branding img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 24px rgba(0,157,255,.26); }
.site-title { color: #fff; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.site-title span { color: var(--mj-blue-bright); }
.primary-menu { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; align-items: center; }
.primary-menu a { color: #dbe5ef; font-weight: 650; font-size: .95rem; }
.primary-menu a:hover { color: var(--mj-blue-bright); }
.menu-toggle { display: none; border: 1px solid var(--mj-line); background: var(--mj-surface); color: #fff; border-radius: 10px; padding: 9px 12px; }

.hero {
  min-height: 670px;
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  background-image: linear-gradient(90deg, rgba(2,4,7,.94) 0%, rgba(2,4,7,.55) 48%, rgba(2,4,7,.28) 100%), var(--mj-hero-image);
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid var(--mj-line);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; z-index: -1; background: linear-gradient(transparent, var(--mj-bg)); }
.hero-content { padding: 150px 0 105px; max-width: 770px; }
.hero h1 { margin: 0 0 20px; font-size: clamp(3rem, 7.5vw, 6.7rem); line-height: .92; letter-spacing: -.055em; text-transform: uppercase; }
.hero h1 em { font-style: normal; color: var(--mj-blue-bright); text-shadow: 0 0 28px rgba(0,157,255,.35); }
.hero p { max-width: 650px; margin: 0 0 30px; color: #d6e0ea; font-size: clamp(1rem, 2vw, 1.24rem); }
.mj-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.mj-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--mj-blue); color: #fff; background: linear-gradient(135deg, #007bd6, #00b8ff); box-shadow: 0 0 24px rgba(0,157,255,.2); font-weight: 800; }
.mj-button:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 0 34px rgba(0,157,255,.34); }
.mj-button--ghost { background: rgba(5,7,10,.58); border-color: rgba(255,255,255,.24); box-shadow: none; }

.service-grid, .post-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.service-card, .post-card {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--mj-radius);
  background: linear-gradient(160deg, rgba(18,25,34,.94), rgba(7,10,14,.98));
  box-shadow: var(--mj-shadow);
  overflow: hidden;
}
.service-card { padding: 28px; position: relative; }
.service-card::before { content:""; position:absolute; inset:0 auto auto 0; width:100%; height:2px; background:linear-gradient(90deg, transparent, var(--mj-blue), transparent); }
.service-icon { width: 48px; height: 48px; display:grid; place-items:center; border:1px solid var(--mj-line); border-radius:14px; color:var(--mj-blue-bright); margin-bottom:18px; font-size:1.3rem; }
.service-card h3 { margin: 0 0 10px; }
.service-card p { margin: 0; color: var(--mj-muted); font-size: .95rem; }

.portfolio-strip { background: linear-gradient(180deg, rgba(0,157,255,.05), transparent); border-block: 1px solid rgba(0,157,255,.12); }
.post-grid { grid-template-columns: repeat(3, 1fr); }
.post-card img { width:100%; aspect-ratio: 16/10; object-fit:cover; display:block; }
.post-card__body { padding: 22px; }
.post-card__body h3 { margin:0 0 8px; }
.post-card__body p { color:var(--mj-muted); margin:0; }

.cta-panel { padding: clamp(28px, 6vw, 64px); border-radius: 28px; border: 1px solid var(--mj-line); background: linear-gradient(135deg, rgba(0,157,255,.15), rgba(10,14,20,.9) 42%, rgba(0,0,0,.96)); box-shadow: var(--mj-shadow); display:flex; justify-content:space-between; align-items:center; gap:32px; }
.cta-panel h2 { margin:0 0 8px; font-size:clamp(1.8rem,4vw,3rem); }
.cta-panel p { margin:0; color:var(--mj-muted); }

.site-main { min-height: 55vh; }
.content-area { padding: 72px 0; }
.entry-header h1 { font-size: clamp(2.3rem, 5vw, 4.6rem); line-height:1; margin:0 0 18px; }
.entry-content { color:#d8e1ea; }
.entry-content > * { max-width: 820px; }
.entry-content > .alignwide { max-width: var(--mj-width); }
.entry-content > .alignfull { max-width:none; }
.wp-block-image img, .featured-image img { border-radius:16px; }

.site-footer { padding: 54px 0 28px; border-top: 1px solid rgba(255,255,255,.08); background:#030507; }
.footer-grid { display:grid; grid-template-columns: 1.4fr .8fr .8fr; gap:36px; }
.footer-title { font-weight:900; text-transform:uppercase; letter-spacing:.08em; }
.footer-title span { color:var(--mj-blue-bright); }
.footer-copy, .footer-links { color:var(--mj-muted); }
.footer-links { list-style:none; padding:0; margin:0; }
.footer-bottom { margin-top:36px; padding-top:20px; border-top:1px solid rgba(255,255,255,.07); color:#7f8b98; font-size:.9rem; }

.screen-reader-text { position:absolute; clip:rect(1px,1px,1px,1px); width:1px; height:1px; overflow:hidden; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .primary-menu { display:none; position:absolute; top:76px; left:18px; right:18px; padding:18px; flex-direction:column; align-items:stretch; border:1px solid var(--mj-line); border-radius:14px; background:#070a0f; }
  .primary-menu.is-open { display:flex; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .hero { min-height: 600px; background-position: 62% center; }
}
@media (max-width: 620px) {
  .site-title { font-size:.82rem; }
  .service-grid, .post-grid, .footer-grid { grid-template-columns:1fr; }
  .mj-section { padding:64px 0; }
  .hero { min-height: 570px; }
  .hero-content { padding:110px 0 70px; }
  .cta-panel { align-items:flex-start; flex-direction:column; }
}


/* WordPress core and accessibility */
.screen-reader-text { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.screen-reader-text:focus { top:8px; left:8px; z-index:9999; width:auto; height:auto; padding:12px 16px; margin:0; overflow:visible; clip:auto; white-space:normal; color:#fff; background:#07111b; border:1px solid var(--mj-blue); border-radius:8px; }
.alignleft { float:left; margin:0 1.5rem 1rem 0; }
.alignright { float:right; margin:0 0 1rem 1.5rem; }
.aligncenter { display:block; margin-left:auto; margin-right:auto; }
.wp-caption { max-width:100%; }
.wp-caption-text, .gallery-caption { color:var(--mj-muted); font-size:.9rem; }
.sticky { border-color:var(--mj-blue); }
.bypostauthor { outline:1px solid rgba(67,199,255,.25); }
.footer-widgets { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:24px; padding:40px 0 20px; }
.footer-widget-title { font-size:1.05rem; }
.post-navigation, .posts-navigation { margin-top:40px; }
.nav-links { display:flex; justify-content:space-between; gap:20px; }
.comment-list { padding-left:1.25rem; }
.comment-body { padding:20px; margin-bottom:16px; background:var(--mj-surface); border:1px solid rgba(255,255,255,.08); border-radius:var(--mj-radius); }
input[type=text], input[type=email], input[type=url], input[type=search], textarea, select { width:100%; padding:12px 14px; color:#fff; background:#090d12; border:1px solid rgba(255,255,255,.14); border-radius:10px; }
input:focus, textarea:focus, select:focus { outline:2px solid var(--mj-blue); outline-offset:2px; }
body{
    font-family:'Inter',sans-serif;
    font-size:18px;
    color:#ffffff;
}

/* Headings */

h1,h2,h3,h4,h5,h6{
    font-family:'BBH Bartle Normal ',sans-serif;
    font-weight:700;
    color:#00bfff;
}

/* Navigation */

.main-navigation a{
    font-family:'Orbitron',sans-serif;
    font-weight:600;
}

/* Buttons */

button,
.wp-block-button__link{
    font-family:'Montserrat',sans-serif;
    font-weight:600;
}