/* ==========================================================================
   THE PORTFOLIO - STYLESHEET
   Brand Identity:
   - Deep navy blue (trust)
   - Metallic gold (premium)
   - Charcoal grey (sophistication)
   - Light grey (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 */
  --navy: #0A192F;
  --gold: #D4AF37;
  --gold-light: #F3E5AB;
  --charcoal: #2D3748;
  --light-grey: #F7FAFC;
  --white: #FFFFFF;
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  /* Shadows */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-gold: 0 4px 15px rgba(212, 175, 55, 0.2);
  
  /* Transitions */
  --transition: all 0.3s ease;
}

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

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

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

a {
  text-decoration: none;
  color: var(--navy);
  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: 3.5rem; line-height: 1.2; }
.h2 { font-size: 2.5rem; line-height: 1.3; }
.h3 { font-size: 2rem; line-height: 1.4; }
.lead { font-size: 1.25rem; font-weight: 300; }

@media (max-width: 768px) {
  .h1 { font-size: 2.5rem; }
  .h2 { font-size: 2rem; }
}

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

.section {
  padding: 5rem 0;
}

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

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

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

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  font-size: 0.9rem;
}

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

.btn-primary:hover {
  background-color: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

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

.btn-outline:hover {
  background-color: var(--gold);
  color: var(--navy);
}

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

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

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

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

.header-logo-img {
  height: 50px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
}

.hero-logo {
  height: 180px;
  width: auto;
  max-width: 90%;
  margin: 0 auto 2rem auto;
  display: block;
  background: radial-gradient(circle, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 65%);
  padding: 30px;
  border-radius: 50%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

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

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

@media (max-width: 992px) {
  .nav-links {
    display: none; /* simple implementation for now */
  }
  .mobile-menu-btn {
    display: block;
  }
  
  .header-logo-img {
    height: 40px;
    max-width: 200px;
  }
  
  .hero-logo {
    height: auto;
    width: 80%;
    padding: 15px;
  }
}

/* Hero Section */
.hero {
  height: 80vh;
  min-height: 600px;
  background: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.9)), 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);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero .lead {
  color: var(--gold-light);
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

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

.card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-top: 3px solid var(--gold);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Footer */
.site-footer {
  background-color: var(--navy);
  color: var(--white);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

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

.footer-col h4 {
  color: var(--gold);
  margin-bottom: 1.5rem;
}

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

.footer-col a {
  color: var(--light-grey);
}

.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.6);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

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

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

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

.checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.checkbox-wrap input {
  margin-top: 0.2rem;
}
