/* =====================================================
   Ryanatchell Investments - Company Website
   Domain: www.ryanatchellinvestments.co.za
   ===================================================== */

:root {
  --navy: #0F2044;
  --navy-dark: #0A1529;
  --navy-light: #1E3A5F;
  --orange: #FF6B00;
  --orange-light: #FF8C33;
  --gold: #FFC107;
  --white: #FFFFFF;
  --light-gray: #F5F7FA;
  --med-gray: #E8ECF1;
  --text: #1A1A2E;
  --text-muted: #5A6577;
  --shadow: 0 10px 40px rgba(15, 32, 68, 0.12);
  --radius: 12px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

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

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== HEADER / NAV ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 32, 68, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
  transition: var(--transition);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.logo-text {
  color: var(--white);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
}

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

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

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,107,0,0.15);
}

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--orange-light) !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 72px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
  background: var(--orange);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 60px 0;
}

.hero-text h1 {
  color: var(--white);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
}

.hero-text h1 span {
  color: var(--orange);
}

.hero-motto {
  color: var(--orange);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-text p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,107,0,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius);
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
  width: 100%;
  object-fit: cover;
  max-height: 380px;
}

.hero-badge {
  position: absolute;
  bottom: -16px;
  left: 24px;
  background: var(--orange);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 20px rgba(255,107,0,0.4);
}

/* ========== SECTIONS ========== */
section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--orange);
  margin: 12px auto 0;
  border-radius: 2px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 16px auto 0;
}

/* ========== ABOUT ========== */
.about {
  background: var(--light-gray);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text h3 {
  color: var(--navy);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.mv-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.mv-card-header {
  background: var(--orange);
  padding: 14px 24px;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
}

.mv-card-body {
  padding: 24px;
  font-size: 0.98rem;
  line-height: 1.7;
}

/* ========== VALUES ========== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.value-card {
  background: var(--white);
  padding: 28px 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--orange);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(15,32,68,0.15);
}

.value-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,107,0,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  color: var(--orange);
}

.value-card h4 {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ========== SERVICES ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--med-gray);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(15,32,68,0.15);
  border-color: var(--orange);
}

.service-card-top {
  background: var(--navy);
  padding: 28px 24px 20px;
  position: relative;
}

.service-card-top::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--orange);
}

.service-card-top h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.service-card-top .subtitle {
  color: var(--orange);
  font-size: 0.9rem;
  font-weight: 600;
}

.service-card-body {
  padding: 24px;
  flex: 1;
}

.service-card-body ul {
  list-style: none;
}

.service-card-body li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.service-card-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

/* ========== WHY CHOOSE US ========== */
.why {
  background: var(--navy-dark);
  color: var(--white);
}

.why .section-header h2 {
  color: var(--white);
}

.why .section-header p {
  color: rgba(255,255,255,0.7);
}

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

.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(255,107,0,0.1);
  border-color: var(--orange);
}

.why-number {
  width: 40px;
  height: 40px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.why-card h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.why-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

/* ========== TEAM ========== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
}

.team-header {
  background: var(--orange);
  padding: 16px;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}

.team-body {
  background: var(--navy);
  padding: 28px 20px 32px;
  color: var(--white);
}

.team-body .role {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.team-body p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

/* ========== CONTACT ========== */
.contact {
  background: var(--light-gray);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.contact-info h3 {
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-item .icon {
  width: 44px;
  height: 44px;
  background: rgba(255,107,0,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-item p {
  color: var(--navy);
  font-weight: 600;
  font-size: 1rem;
}

.banking-box {
  background: var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.banking-header {
  background: var(--orange);
  padding: 16px 28px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
}

.banking-body {
  padding: 28px;
}

.bank-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.bank-row:last-child {
  border-bottom: none;
}

.bank-row .label {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.bank-row .value {
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--med-gray);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--light-gray);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo-text {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 18px;
  position: relative;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--orange);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--orange);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .hero-content,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 2.4rem;
  }

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

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

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

  .mission-vision {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .services-grid,
  .team-grid,
  .why-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

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

  section {
    padding: 60px 0;
  }
}

/* Utility */
.text-orange { color: var(--orange); }
.mt-2 { margin-top: 16px; }
