/* ==========================================================================
   THE PORTFOLIO - STYLESHEET
   Brand Identity:
   - Dark charcoal (sophistication/trust)
   - Metallic gold (premium)
   - Deep emerald (highlights)
   - White backgrounds (balance)
   Typography: Playfair Display (Headings), Inter (Body)
   ========================================================================== */

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

:root {
  /* Colors */
  --charcoal-dark: #1B1B1B;
  --charcoal: #2D3748;
  --gold: #D4AF37;
  --emerald: #0A4232;
  --light-grey: #F8F9FA;
  --white: #FFFFFF;
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  /* Shadows */
  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 15px 35px rgba(0, 0, 0, 0.08);
  --shadow-gold: 0 8px 25px rgba(212, 175, 55, 0.25);
  
  /* Transitions */
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--charcoal-dark);
  margin-bottom: 1rem;
  font-weight: 600;
}

a {
  text-decoration: none;
  color: var(--charcoal-dark);
  transition: var(--transition);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* ==========================================================================
   Typography Scales
   ========================================================================== */
.h1 { font-size: 4rem; line-height: 1.1; font-weight: 700; }
.h2 { font-size: 2.8rem; line-height: 1.2; }
.h3 { font-size: 2rem; line-height: 1.4; }
.h4 { font-size: 1.5rem; line-height: 1.5; }
.lead { font-size: 1.35rem; font-weight: 300; color: #555; }
.text-emerald { color: var(--emerald); }

@media (max-width: 768px) {
  .h1 { font-size: 2.8rem; }
  .h2 { font-size: 2.2rem; }
  .lead { font-size: 1.15rem; }
}

/* ==========================================================================
   Layout & Utility
   ========================================================================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section-dark {
  background-color: var(--charcoal-dark);
  color: var(--white);
}

.section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--white);
}

.section-grey {
  background-color: var(--light-grey);
}

.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.gold-text { color: var(--gold); }

/* ==========================================================================
   Components
   ========================================================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  font-size: 0.85rem;
  text-align: center;
}

.btn-primary {
  background-color: var(--gold);
  color: var(--charcoal-dark);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background-color: transparent;
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: none;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--charcoal-dark);
  color: var(--charcoal-dark);
}

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

.btn-outline-white {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

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

/* Header */
.site-header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 120px;
  padding: 1rem 0;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--charcoal-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--gold);
}

.header-logo-img {
  height: 95px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.header-logo-img:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-cta {
  padding: 0.6rem 1.5rem !important;
  background-color: var(--charcoal-dark);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
}

.nav-cta:hover {
  background-color: var(--gold);
  color: var(--charcoal-dark) !important;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--charcoal-dark);
  cursor: pointer;
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .header-logo-img {
    height: 70px;
  }
}

/* Hero Section */
.hero {
  min-height: 90vh;
  background: linear-gradient(rgba(27, 27, 27, 0.7), rgba(27, 27, 27, 0.85)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop') center/cover;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
  padding: 4rem 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero .lead {
  color: var(--light-grey);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

/* Cards & Grids */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.card {
  background: var(--white);
  padding: 3rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.03);
  height: 100%;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-md);
  border-bottom: 4px solid var(--gold);
}

.icon-wrapper {
  width: 60px;
  height: 60px;
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Approach Section */
.approach-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
  align-items: center;
}

.approach-step {
  background: var(--charcoal-dark);
  color: var(--gold);
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.approach-arrow {
  color: var(--charcoal);
  font-weight: bold;
}

/* Footer */
.site-footer {
  background-color: var(--charcoal-dark);
  color: var(--light-grey);
  padding: 5rem 0 2rem;
  border-top: 4px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
}

.footer-col ul li {
  margin-bottom: 1rem;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Forms */
.form-card {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--charcoal-dark);
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  transition: var(--transition);
  background-color: var(--light-grey);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  display: none;
}

.form-message.success {
  background-color: rgba(10, 66, 50, 0.1);
  color: var(--emerald);
  border: 1px solid var(--emerald);
  display: block;
}

.form-message.error {
  background-color: rgba(220, 53, 69, 0.1);
  color: #DC3545;
  border: 1px solid #DC3545;
  display: block;
}
