/* ============================================================
   Ascot Construction — Global Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

/* Variables */
:root {
  --gold:       #9f8457;
  --gold-light: #b89d6e;
  --black:      #0c0c0c;
  --dark:       #141414;
  --mid:        #1e1e1e;
  --white:      #f5f3ef;
  --text-muted: #999;
  --border:     rgba(159, 132, 87, 0.25);
  --nav-h:      80px;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(12, 12, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.site-nav .logo {
  display: flex;
  align-items: center;
}

.site-nav .logo img {
  height: 42px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
  color: var(--gold);
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: 0.3s;
}

/* ============================================================
   HERO — VIDEO (home)
   ============================================================ */
.hero-video {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-video .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.55) 60%,
    rgba(0,0,0,0.80) 100%
  );
}

.hero-video .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--white);
  line-height: 1.15;
}

.hero-tagline span {
  display: block;
  font-size: 0.45em;
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* ============================================================
   HERO — IMAGE (services / about)
   ============================================================ */
.hero-image {
  position: relative;
  height: 52vh;
  min-height: 340px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--nav-h);
}

.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-image .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.52);
}

.hero-image .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-page-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
}

.hero-rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 16px auto 0;
}

/* ============================================================
   SECTIONS — COMMON
   ============================================================ */
section { padding: 100px 40px; }

.container {
  max-width: 1080px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 28px;
}

.section-body {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(245,243,239,0.75);
  max-width: 680px;
}

/* ============================================================
   HOME — INTRO
   ============================================================ */
.intro-section {
  background: var(--dark);
  text-align: center;
}

.intro-section .section-body {
  margin: 0 auto;
  font-size: 1rem;
  color: rgba(245,243,239,0.8);
}

/* ============================================================
   HOME — TEAM
   ============================================================ */
.team-section {
  background: var(--black);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

.team-card {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.team-photo {
  flex-shrink: 0;
  width: 160px;
  height: 200px;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1);
  transition: filter 0.4s;
}

.team-card:hover .team-photo img {
  filter: grayscale(0.6);
}

.team-info { flex: 1; }

.team-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 4px;
}

.team-title {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.team-bio {
  font-size: 0.82rem;
  line-height: 1.85;
  color: rgba(245,243,239,0.7);
  margin-bottom: 20px;
}

.team-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-text {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
  padding-bottom: 2px;
}

.btn-text:hover { border-color: var(--gold); }

.linkedin-icon img {
  width: 22px;
  height: 22px;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.linkedin-icon:hover img { opacity: 1; }

/* ============================================================
   HOME — CONTACT
   ============================================================ */
.contact-section {
  position: relative;
  background: var(--mid);
  overflow: hidden;
}

.contact-section .bg-texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.contact-section .container {
  position: relative;
  z-index: 2;
}

.contact-section .section-title { text-align: center; margin-bottom: 48px; }
.contact-section .section-label { text-align: center; }

.contact-email-block {
  text-align: center;
}

.contact-phone {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-phone a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.contact-phone a:hover {
  color: var(--gold);
}

.btn-submit {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 14px 40px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.btn-submit:hover {
  background: var(--gold);
  color: var(--black);
}

/* ============================================================
   SERVICES — CONTENT
   ============================================================ */
.services-intro {
  background: var(--dark);
  text-align: center;
}

.services-intro .section-title {
  font-style: italic;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  max-width: 720px;
  margin: 0 auto 24px;
}

.services-intro .section-body {
  margin: 0 auto;
  text-align: center;
}

.services-grid-section {
  background: var(--black);
}

.services-heading {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.service-item {
  padding: 44px 36px;
  background: var(--dark);
  border: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.service-item:hover {
  border-color: var(--border);
  background: #1a1a1a;
}

.service-chevron {
  width: 28px;
  height: 14px;
  margin-bottom: 20px;
  opacity: 0.8;
}

.service-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 14px;
}

.service-desc {
  font-size: 0.8rem;
  line-height: 1.9;
  color: rgba(245,243,239,0.65);
}

/* ============================================================
   ABOUT — COMPANY
   ============================================================ */
.about-company {
  background: var(--dark);
}

.about-company .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-company .section-body + .section-body {
  margin-top: 20px;
}

/* ============================================================
   ABOUT — TEAM FULL
   ============================================================ */
.about-team {
  background: var(--black);
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

.about-team-card {
  display: flex;
  flex-direction: column;
}

.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  max-height: 380px;
  overflow: hidden;
  margin-bottom: 28px;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1);
}

.about-card-name {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 4px;
}

.about-card-title {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.about-card-email {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  transition: color 0.2s;
}

.about-card-email:hover { color: var(--gold); }

.about-card-bio {
  font-size: 0.83rem;
  line-height: 1.9;
  color: rgba(245,243,239,0.7);
  margin-bottom: 24px;
}

.about-card-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 60px 40px 40px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: start;
}

.footer-logo img {
  height: 52px;
  width: auto;
  margin-bottom: 20px;
}

.footer-address {
  font-size: 0.78rem;
  line-height: 1.9;
  color: var(--text-muted);
}

.footer-address strong {
  display: block;
  color: var(--white);
  font-weight: 400;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.footer-address a { transition: color 0.2s; }
.footer-address a:hover { color: var(--gold); }

.footer-nav {
  text-align: center;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--gold); }

.footer-social {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 16px;
}

.footer-social a img {
  width: 28px;
  height: 28px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.footer-social a:hover img { opacity: 1; }

.footer-bottom {
  max-width: 1080px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
}

.footer-credit {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
}

.footer-credit a { transition: color 0.2s; }
.footer-credit a:hover { color: var(--gold); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  :root { --nav-h: 68px; }

  .site-nav { padding: 0 24px; }

  section { padding: 72px 24px; }

  .team-grid,
  .about-team-grid { grid-template-columns: 1fr; gap: 48px; }

  .about-company .container { grid-template-columns: 1fr; gap: 36px; }

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

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-social { justify-content: flex-start; }
  .footer-nav ul { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(12,12,12,0.97);
    padding: 20px 0 32px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open li { text-align: center; }
  .nav-links.open a { display: block; padding: 14px 24px; font-size: 12px; }
  .nav-toggle { display: flex; }

  .team-card { flex-direction: column; }
  .team-photo { width: 100%; height: 240px; }

  .services-grid { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .hero-tagline { font-size: 2rem; }
}
