/* ============================================================
   GEORGE DIVEL — Executive Portfolio
   Global Stylesheet
   ============================================================ */

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

/* ── CSS Variables ── */
:root {
  --navy-darkest:  #060e1e;
  --navy-dark:     #0b1a30;
  --navy:          #0f2147;
  --navy-mid:      #163160;
  --navy-light:    #1e4080;
  --gold-dark:     #a07830;
  --gold:          #c9963a;
  --gold-bright:   #e8b84b;
  --gold-light:    #f5d98b;
  --gold-pale:     #fdf4df;
  --white:         #ffffff;
  --off-white:     #f8f6f1;
  --light-gray:    #ededec;
  --mid-gray:      #9a9a9a;
  --text-dark:     #1a1a2e;
  --text-body:     #2c2c3e;
  --shadow-gold:   rgba(201, 150, 58, 0.25);
  --shadow-navy:   rgba(11, 26, 48, 0.35);
  --transition:    0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     32px;
}

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

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ── */
.font-serif    { font-family: 'Playfair Display', serif; }
.font-elegant  { font-family: 'Cormorant Garamond', serif; }

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  color: var(--navy-dark);
  line-height: 1.25;
}

/* ── Utility ── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 96px 0; }
.section-sm { padding: 60px 0; }

.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.text-navy   { color: var(--navy); }
.text-white  { color: var(--white); }

.bg-navy     { background: var(--navy-dark); }
.bg-navy-alt { background: var(--navy-darkest); }
.bg-white    { background: var(--white); }
.bg-off      { background: var(--off-white); }
.bg-gold-pale{ background: var(--gold-pale); }

/* ── Gold Divider ── */
.gold-rule {
  display: block;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-bright));
  border-radius: 2px;
  margin: 16px auto 0;
}
.gold-rule.left { margin-left: 0; }

/* ── Section Label ── */
.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* ── Section Title ── */
.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.section-title.white { color: var(--white); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--mid-gray);
  max-width: 640px;
  margin: 16px auto 0;
}
.section-subtitle.white { color: rgba(255,255,255,0.7); }
.section-subtitle.left  { margin-left: 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-bright));
  color: var(--navy-darkest);
  box-shadow: 0 4px 20px var(--shadow-gold);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--shadow-gold);
  filter: brightness(1.08);
}

.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--white);
  background: transparent;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-gold {
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy-darkest);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy-dark);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
}

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 32px rgba(11,26,48,0.08);
  transition: var(--transition);
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(11,26,48,0.14);
}

.card-gold-border {
  border-top: 4px solid var(--gold);
}

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,150,58,0.4); }
  50%       { box-shadow: 0 0 0 14px rgba(201,150,58,0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes lineExpand {
  from { width: 0; }
  to   { width: 100%; }
}

.animate-fade-up   { animation: fadeInUp  0.7s ease forwards; }
.animate-fade-left { animation: fadeInLeft 0.7s ease forwards; }
.animate-fade-right{ animation: fadeInRight 0.7s ease forwards; }

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── Stagger delays ── */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 32px;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
.navbar.transparent { background: transparent; }
.navbar.scrolled {
  background: rgba(6, 14, 30, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 32px rgba(0,0,0,0.3);
  padding: 0 32px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-logo-badge {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-bright));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-darkest);
  flex-shrink: 0;
  box-shadow: 0 4px 16px var(--shadow-gold);
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
}
.nav-logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}
.nav-logo-title {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.04em;
  position: relative;
  transition: color var(--transition);
  padding: 4px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-bright));
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-bright));
  color: var(--navy-darkest) !important;
  font-weight: 700;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  transition: var(--transition);
  box-shadow: 0 4px 16px var(--shadow-gold);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow-gold);
  filter: brightness(1.08);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.hamburger-bar {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-hamburger.open .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.mobile-menu {
  position: fixed;
  top: 80px; left: 0; right: 0;
  background: rgba(6,14,30,0.98);
  backdrop-filter: blur(16px);
  padding: 24px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-120%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  z-index: 999;
  border-bottom: 1px solid rgba(201,150,58,0.2);
}
.mobile-menu.open { transform: translateY(0); }

.mobile-nav-link {
  display: block;
  padding: 14px 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--transition);
}
.mobile-nav-link:hover { color: var(--gold); }

.mobile-nav-cta {
  margin-top: 16px;
  text-align: center;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-bright));
  color: var(--navy-darkest);
  font-weight: 700;
  border-radius: var(--radius-sm);
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer {
  background: var(--navy-darkest);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.8;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
}
.footer-contact-item svg {
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; }
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--gold); }

.footer-gold-bar {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), var(--gold-bright), var(--gold-dark), transparent);
  margin-bottom: 64px;
}

/* ════════════════════════════════════════
   PAGE HERO BANNER (inner pages)
════════════════════════════════════════ */
.page-hero {
  min-height: 380px;
  background: linear-gradient(135deg, var(--navy-darkest) 0%, var(--navy) 60%, var(--navy-mid) 100%);
  display: flex;
  align-items: flex-end;
  padding-bottom: 64px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(201,150,58,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(30,64,128,0.4) 0%, transparent 60%);
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,150,58,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,150,58,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}
.page-hero-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
}
.page-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  margin-top: 14px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.breadcrumb a { color: var(--gold); transition: opacity var(--transition); }
.breadcrumb a:hover { opacity: 0.8; }

/* ════════════════════════════════════════
   FORM ELEMENTS
════════════════════════════════════════ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy-dark);
  text-transform: uppercase;
}
.form-label.white { color: rgba(255,255,255,0.8); }

.form-input, .form-textarea, .form-select {
  padding: 14px 18px;
  border: 1.5px solid #ddd;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-body);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,150,58,0.15);
}
.form-textarea { resize: vertical; min-height: 140px; }

/* ════════════════════════════════════════
   STATS BAR
════════════════════════════════════════ */
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
}

/* ════════════════════════════════════════
   QUOTE / TESTIMONIAL
════════════════════════════════════════ */
.blockquote-gold {
  border-left: 4px solid var(--gold);
  padding: 24px 32px;
  background: var(--gold-pale);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--navy-dark);
  line-height: 1.7;
}

/* ════════════════════════════════════════
   SCROLLBAR
════════════════════════════════════════ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--navy-darkest); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-bright); }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .section { padding: 48px 0; }
  .container { padding: 0 16px; }
}
