/*
Theme Name: Gohil Vadalia & Associates
Theme URI: https://example.com
Author: Gohil Vadalia & Associates
Description: Custom one-page brochure theme for Gohil Vadalia & Associates, Chartered Accountants. Converted from a bespoke static HTML/CSS design.
Version: 1.0
Requires at least: 5.9
Requires PHP: 7.4
Text Domain: gohil-vadalia
*/

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --navy: #0D1B3E;
    --gold: #C8860A;
    --gold-light: #E8A020;
    --white: #FFFFFF;
    --slate: #F4F6FA;
    --charcoal: #1A2340;
    --muted: #5A6480;
    --accent-orange: #D4601A;
  }
  html { scroll-behavior: smooth; }
  body { font-family: 'Inter', sans-serif; color: var(--charcoal); background: var(--white); line-height: 1.6; }

  /* NAV */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(13,27,62,0.97); backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 60px; height: 68px;
    border-bottom: 1px solid rgba(200,134,10,0.3);
  }
  .nav-brand { display: flex; align-items: center; gap: 0; }
  .nav-firm-name {
    font-family: 'Playfair Display', serif;
    font-size: 15px; font-weight: 700; letter-spacing: 1px;
    color: var(--white); line-height: 1.3;
  }
  .nav-firm-name span { color: var(--gold); }
  .nav-firm-sub {
    font-size: 10px; font-weight: 500; letter-spacing: 2.5px;
    text-transform: uppercase; color: rgba(255,255,255,0.5);
    margin-top: 2px; display: block;
  }
  .nav-links { display: flex; gap: 36px; list-style: none; }
  .nav-links a {
    color: rgba(255,255,255,0.75); text-decoration: none;
    font-size: 12px; font-weight: 500; letter-spacing: 1.5px;
    text-transform: uppercase; transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--gold); }

  /* HERO */
  .hero {
    min-height: 100vh; background: var(--navy);
    display: flex; align-items: center;
    position: relative; overflow: hidden;
    padding: 100px 60px 80px;
  }
  .hero::before {
    content: ''; position: absolute; top: 0; right: 0;
    width: 55%; height: 100%;
    background: linear-gradient(135deg, transparent 30%, rgba(200,134,10,0.06) 100%);
  }
  .hero-diagonal {
    position: absolute; top: 0; right: 200px; width: 3px; height: 100%;
    background: linear-gradient(180deg, transparent 0%, var(--gold) 40%, var(--accent-orange) 70%, transparent 100%);
    opacity: 0.4; transform: skewX(-8deg);
  }
  .hero-diagonal-2 {
    position: absolute; top: 0; right: 240px; width: 1px; height: 100%;
    background: linear-gradient(180deg, transparent 0%, var(--gold) 50%, transparent 100%);
    opacity: 0.15; transform: skewX(-8deg);
  }
  .hero-content { max-width: 680px; position: relative; z-index: 2; }
  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 11px; font-weight: 600; letter-spacing: 3px;
    text-transform: uppercase; color: var(--gold); margin-bottom: 28px;
  }
  .hero-eyebrow::before { content: ''; display: block; width: 32px; height: 1px; background: var(--gold); }
  .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(44px,5vw,72px); font-weight: 700;
    color: var(--white); line-height: 1.1; margin-bottom: 24px;
  }
  .hero h1 em { font-style: normal; color: var(--gold); }
  .hero-tagline {
    font-size: 16px; color: rgba(255,255,255,0.65); font-weight: 300;
    line-height: 1.7; max-width: 520px; margin-bottom: 48px;
    font-style: italic; border-left: 2px solid var(--gold); padding-left: 20px;
  }
  .hero-stats { display: flex; gap: 48px; margin-bottom: 52px; }
  .stat-num {
    font-family: 'Playfair Display', serif; font-size: 36px;
    font-weight: 700; color: var(--white); line-height: 1;
  }
  .stat-num span { color: var(--gold); }
  .stat-label {
    font-size: 11px; color: rgba(255,255,255,0.5); font-weight: 500;
    letter-spacing: 1px; text-transform: uppercase; margin-top: 4px;
  }
  .hero-cta {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--gold); color: var(--navy);
    font-size: 12px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; padding: 16px 32px;
    text-decoration: none; transition: background 0.2s, gap 0.2s;
  }
  .hero-cta:hover { background: var(--gold-light); gap: 16px; }
  .hero-scroll {
    position: absolute; bottom: 40px; left: 60px;
    display: flex; align-items: center; gap: 12px;
    font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
    color: rgba(255,255,255,0.35);
  }
  .hero-scroll::after {
    content: ''; display: block; width: 40px; height: 1px;
    background: rgba(255,255,255,0.2); animation: pulse 2s infinite;
  }
  @keyframes pulse { 0%,100%{opacity:0.3} 50%{opacity:1} }

  /* SECTIONS */
  section { padding: 100px 60px; }
  .section-label {
    font-size: 11px; font-weight: 600; letter-spacing: 3px;
    text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
    display: flex; align-items: center; gap: 12px;
  }
  .section-label::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold); }
  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px,3.5vw,48px); font-weight: 700;
    color: var(--navy); line-height: 1.15; margin-bottom: 20px;
  }
  .section-sub { font-size: 16px; color: var(--muted); font-weight: 300; max-width: 560px; line-height: 1.7; }

  /* PARTNERS */
  .partners { background: var(--white); }
  .partners-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 48px; margin-top: 60px; max-width: 1200px;
  }
  .partner-card { border: 1px solid rgba(13,27,62,0.1); overflow: hidden; position: relative; }
  .partner-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--gold)); z-index: 1;
  }
  .partner-header {
    background: var(--navy);
    display: grid; grid-template-columns: 160px 1fr;
    align-items: stretch;
  }
  .partner-photo-wrap {
    overflow: hidden; height: 210px;
  }
  .partner-photo-wrap img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center 15%;
    display: block;
    transition: transform 0.4s ease;
  }
  .partner-card:hover .partner-photo-wrap img { transform: scale(1.04); }
  .partner-info {
    padding: 28px 22px; display: flex; flex-direction: column; justify-content: center;
  }
  .partner-name {
    font-family: 'Playfair Display', serif; font-size: 21px;
    font-weight: 700; color: var(--white); line-height: 1.2;
  }
  .partner-qual {
    font-size: 12px; font-weight: 600; color: var(--gold);
    letter-spacing: 1.5px; text-transform: uppercase; margin-top: 7px;
  }
  .partner-role {
    font-size: 11px; color: rgba(255,255,255,0.45);
    letter-spacing: 1.5px; text-transform: uppercase; margin-top: 4px;
  }
  .partner-body { padding: 30px 28px; }
  .partner-bio { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 22px; }
  .chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
  .chip {
    font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
    padding: 5px 11px; background: rgba(200,134,10,0.08); color: var(--gold);
    border: 1px solid rgba(200,134,10,0.28);
  }
  .activities h4 {
    font-size: 10px; font-weight: 700; letter-spacing: 2.5px;
    text-transform: uppercase; color: var(--navy); margin-bottom: 10px;
    padding-bottom: 8px; border-bottom: 1px solid rgba(13,27,62,0.1);
  }
  .activity-list { list-style: none; }
  .activity-list li {
    font-size: 13px; color: var(--muted); padding: 6px 0 6px 18px;
    border-bottom: 1px solid rgba(13,27,62,0.05); position: relative; line-height: 1.5;
  }
  .activity-list li:last-child { border-bottom: none; }
  .activity-list li::before { content: '→'; position: absolute; left: 0; color: var(--gold); font-size: 11px; top: 7px; }

  /* VISION & MISSION */
  .vision-mission { background: var(--slate); position: relative; overflow: hidden; }
  .vision-mission::after {
    content: ''; position: absolute; top: 0; right: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, var(--gold) 0%, var(--accent-orange) 100%);
    transform: skewX(-6deg);
  }
  .vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 60px; max-width: 1100px; }
  .vm-card {
    background: var(--white); padding: 44px 38px;
    border-top: 3px solid var(--gold); box-shadow: 0 4px 32px rgba(13,27,62,0.06);
  }
  .vm-card h3 {
    font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700;
    color: var(--navy); margin-bottom: 16px;
  }
  .vm-card p { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 12px; }
  .vm-card blockquote {
    font-style: italic; color: var(--navy); font-size: 15px;
    border-left: 2px solid var(--gold); padding-left: 16px;
    margin-bottom: 16px; font-family: 'Playfair Display', serif; line-height: 1.6;
  }
  .cv-item { padding: 10px 0; border-bottom: 1px solid rgba(13,27,62,0.08); }
  .cv-item:last-child { border-bottom: none; }
  .cv-title {
    font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 2px;
    display: flex; align-items: center; gap: 8px;
  }
  .cv-title::before { content: ''; display: block; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }
  .cv-desc { font-size: 13px; color: var(--muted); padding-left: 14px; }

  /* SERVICES */
  .services { background: var(--white); }
  .services-header { display: flex; justify-content: space-between; align-items: flex-start; max-width: 1200px; margin-bottom: 60px; }
  .services-note { max-width: 340px; padding-top: 16px; font-size: 15px; color: var(--muted); line-height: 1.7; }
  .services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; max-width: 1200px; }
  .svc-card {
    background: var(--slate); padding: 32px 26px; position: relative;
    border-bottom: 3px solid transparent;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  }
  .svc-card:hover { border-bottom-color: var(--gold); box-shadow: 0 8px 36px rgba(13,27,62,0.1); transform: translateY(-4px); }
  .svc-num {
    font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 900;
    color: rgba(13,27,62,0.05); position: absolute; top: 10px; right: 14px; line-height: 1;
  }
  .svc-icon { width: 40px; height: 40px; background: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
  .svc-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .svc-title { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 12px; padding-right: 28px; line-height: 1.3; }
  .svc-list { list-style: none; }
  .svc-list li {
    font-size: 13px; color: var(--muted); padding: 5px 0 5px 14px;
    border-bottom: 1px solid rgba(13,27,62,0.06); position: relative; line-height: 1.45;
  }
  .svc-list li:last-child { border-bottom: none; }
  .svc-list li::before { content: '·'; position: absolute; left: 0; color: var(--gold); font-size: 16px; top: 3px; }

  /* CONTACT */
  .contact { background: var(--navy); position: relative; overflow: hidden; }
  .contact::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--accent-orange), var(--gold));
  }
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; margin-top: 60px; max-width: 1000px; }
  .contact-label { font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
  .contact-name { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
  .contact-row { font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 6px; }
  .contact-row a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
  .contact-row a:hover { color: var(--gold); }
  .footer-bar {
    margin-top: 72px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.1);
    display: flex; justify-content: space-between; align-items: center; max-width: 1200px;
  }
  .footer-name {
    font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700;
    color: var(--white); letter-spacing: 0.5px;
  }
  .footer-name span { color: var(--gold); }
  .footer-sub { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.3); }

  /* RESPONSIVE */
  @media(max-width:960px){
    nav { padding: 0 24px; }
    .nav-links { display: none; }
    section { padding: 72px 24px; }
    .hero { padding: 100px 24px 72px; }
    .vm-grid, .partners-grid, .contact-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .services-header { flex-direction: column; gap: 16px; }
    .hero-stats { gap: 28px; }
    .footer-bar { flex-direction: column; gap: 12px; text-align: center; }
  }
  @media(max-width:600px){
    .services-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-wrap: wrap; gap: 24px; }
    .partner-header { grid-template-columns: 120px 1fr; }
    .partner-photo-wrap { height: 180px; }
  }
  @media(prefers-reduced-motion:no-preference){
    .hero-content { animation: fadeUp 0.8s ease both; }
    @keyframes fadeUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
  }

/* ===================== */
/* CONTACT FORM (added for WordPress build) */
/* ===================== */
.contact-form-wrap {
  margin-top: 60px;
  max-width: 640px;
}
.contact-form-wrap h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}
.gva-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.gva-field { display: flex; flex-direction: column; }
.gva-field.full { grid-column: 1 / -1; }
.gva-field label {
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
  margin-bottom: 6px;
}
.gva-field input,
.gva-field textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.gva-field input:focus,
.gva-field textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.1);
}
.gva-field textarea { resize: vertical; min-height: 110px; }
.gva-submit {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--navy); border: none; cursor: pointer;
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 16px 32px;
  transition: background 0.2s;
}
.gva-submit:hover { background: var(--gold-light); }
.gva-honeypot { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; }
.gva-notice {
  margin-top: 24px; margin-bottom: -12px; padding: 14px 18px;
  font-size: 13px; font-weight: 500; max-width: 640px;
  border-left: 3px solid var(--gold);
}
.gva-notice.success { background: rgba(60,160,90,0.12); color: #8fe0ab; border-left-color: #4caf6e; }
.gva-notice.error { background: rgba(200,60,60,0.12); color: #f0a3a3; border-left-color: #d45c5c; }
@media(max-width:600px){
  .gva-form-row { grid-template-columns: 1fr; }
}
