/* RAFFYCHAN.COM MASTER THEME

Version : 1.0

Date : June 2026

Author : Raffy Chan + ChatGPT */

/* ---------------------------------------------------------
1. Variables
--------------------------------------------------------- */

/* ==================================================
   BRAND COLORS
================================================== */

:root {
  --rc-red: #c41a20;
  --rc-red-dark: #8d1d22;
  --rc-gold: #a88b3a;
  --rc-gold-light: #d5b56b;
  --rc-white: #ffffff;
  --rc-black: #161616;
  --rc-text: #222222;
  --rc-text-light: #666666;
  --rc-border: #e6e6e6;
  --rc-bg: #f6f1e8;
  --rc-bg-dark: #161616;
  --font-body: "Inter", sans-serif;
  --font-heading: "Lora", serif;
  --font-latin: "Cormorant Garamond", serif;
  --container-width: 1320px;
  --hero-width: 620px;
  --section-space: 7rem;
  --navbar-height: 96px;
  --transition: 0.3s ease;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ---------------------------------------------------------
2. Reset
--------------------------------------------------------- */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--rc-text);
  background: var(--rc-bg);
  overflow-x: hidden;
}

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

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

button {
  transition: var(--transition);
}

/* ---------------------------------------------------------
3. Typography
--------------------------------------------------------- */

:root {
  --font-heading: "Cormorant Garamond", serif;
  --font-body: "Inter", sans-serif;
  --font-latin: "Cormorant Garamond", serif;
}

body {
  font-family: var(--font-body);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  margin-top: 0;
}

.hero-title {
  color: #ffffff !important;
}

.hero-subtitle {
  font-size: 1.35rem;
  line-height: 1.65;
  color: white;
  max-width: 540px;
}

.hero-motto {
  font-family: var(--font-latin);
  font-style: italic;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1.45;
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------
4. Navbar
-------------------------------------------------------------- */

.navbar-rg {
  min-height: 90px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

/* Logo */

.navbar-brand img {
  width: auto;
  height: 72px;
  transition: 0.3s;
}

/* Navigation */

.navbar-rg .navbar-nav {
  gap: 1.4rem;
}

.navbar-rg .nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #222;
  transition: 0.25s;
  padding: 0;
  position: relative;
}

.raffy-brand {
  margin-left: 0.75rem;
  line-height: 1;
}

/* Hover */

.navbar-rg .nav-link:hover {
  color: var(--rgc-primary);
}

/* Active */

.navbar-rg .nav-link.active {
  color: var(--rgc-primary);
}

.navbar-rg .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 2px;
  background: var(--rgc-primary);
}

/* CTA Button */

.btn-rg-gold {
  background: #c41a20;
  color: #fff;
  border: none;
  border-radius: 0;
  padding: 0.8rem 1.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: 0.3s;
}

.btn-rg-gold:hover {
  background: #111;
  color: #fff;
}

/* Mobile */

@media (max-width: 991px) {
  .navbar-rg {
    min-height: 80px;
  }
}

@media (max-width: 991px) {
  .navbar-brand img {
    height: 60px;
  }
}

@media (max-width: 991px) {
  .navbar-collapse {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

@media (max-width: 991px) {
  .navbar-rg .navbar-nav {
    gap: 0.5rem;
  }
}

@media (max-width: 991px) {
  .navbar-rg .nav-link {
    padding: 0.5rem 0;
  }
}

/* ---------------------------------------------------------
5. Hero
--------------------------------------------------------- */

/* ---------------------------------------------------------
6. Buttons
--------------------------------------------------------- */

/* ---------------------------------------------------------
7. Sections
--------------------------------------------------------- */

/* ---------------------------------------------------------
8. Cards
--------------------------------------------------------- */

/* ---------------------------------------------------------
9. Footer
--------------------------------------------------------- */

/* ---------------------------------------------------------
10. Responsive
--------------------------------------------------------- */

:root {
  --rg-gold: #a88b3a;
  --rg-gold-dark: #8d742d;
  --rg-red: #c41a20;
  --rg-text: #222222;
  --rg-border: #e6e6e6;
}

body {
  background-color: #f6f1e8;
}

.navbar-rg {
  background: #ffffff;
  min-height: 95px;
  border-bottom: 2px solid #1f2430;
}

.navbar-rg .nav-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding-left: 1rem;
  padding-right: 1rem;
}

.navbar-rg .nav-link:hover {
  color: var(--rg-gold);
}

.btn, button, input[type="button"], input[type="submit"], input[type="reset"] {
  border-radius: 0;
}

.btn-rg-gold {
  background-color: var(--rg-gold);
  color: #fff;
  border: none;
  border-radius: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-rg-gold:hover {
  background-color: var(--rg-gold-dark);
  color: #fff;
}

.hero-rg {
  position: relative;
  min-height: clamp(520px, 65vh, 780px);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-home {
  background-image: url("../../assets/img/general/hero-quid.jpg");
}

.hero-reflections {
  background-image: url("../../assets/img/general/hero-ar2ai.jpg");
}

.hero-journey {
  background-image: url("../../assets/img/general/hero-research.jpg");
}

.hero-rg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
}

.hero-line {
  display: inline-block;
  white-space: nowrap;
}

.hero-underline {
  width: 70px;
  height: 4px;
  background: var(--rg-red);
  margin: 1.25rem 0;
  border-radius: 2px;
}

@media (max-width: 991.98px) {
  .hero-rg {
    min-height: 600px;
  }
}

@media (max-width: 991.98px) {
  .hero-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 767.98px) {
  .hero-rg {
    min-height: 500px;
  }
}

@media (max-width: 767.98px) {
  .hero-content {
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .hero-content h1 {
    font-size: 2.4rem;
  }
}

@media (max-width: 767.98px) {
  .hero-line {
    white-space: normal;
  }
}

.stats-section {
  padding: 30px 0;
  background: #f8f8f6;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 110px;
}

.stat-heading {
  font-size: clamp(1.9rem, 2.5vw, 2.3rem);
  letter-spacing: 0.35px;
}

.stat-description {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: #3c3c3c;
  max-width: 240px;
  margin: 0 auto;
  line-height: 1.6;
}

.stat-divider {
  border-left: 1px solid #e3e3e3;
}

.section-title {
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: #000;
  margin-bottom: 15px;
}

.title-divider {
  width: 80px;
  height: 4px;
  background: #b31b1b;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .section-title {
    font-size: 2.2rem;
  }
}

.insights-section {
  background: #f6f1e8;
}

.discuss-section {
  background: #ffffff;
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}

.discuss-content {
  margin: 0;
  max-width: 640px;
}

.discuss-content h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.95rem, 2.8vw, 2.85rem);
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #1c1c1c;
}

.discuss-content p {
  margin: 0;
  color: #424242;
  line-height: 1.6;
  font-family: Inter, sans-serif;
}

.btn-rg-red {
  background-color: #c41a20;
  border: none;
  color: #fff;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-rg-red:hover {
  background-color: #9f1517;
}

.site-footer {
  background: #0b0b0b;
  color: rgba(255, 255, 255, 0.85);
}

.site-footer h6 {
  letter-spacing: 0.35em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer-caption {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

.footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-link-list a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-family: Inter, sans-serif;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  transition: color 0.2s ease;
  position: relative;
}

.footer-link-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--rg-red);
  transition: width 0.2s ease;
}

.footer-link-list a:hover {
  color: var(--rg-red);
  text-decoration: none;
}

.footer-link-list a:hover::after {
  width: 100%;
}

.footer-office p {
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.view-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.45rem;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
}

.footer-bottom {
  border-color: rgba(255, 255, 255, 0.15);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.footer-bottom-links span {
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .discuss-content {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .btn-rg-red {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .footer-bottom {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer-bottom-links {
    justify-content: center;
  }
}

