/* ============================================
   Rick Teed Miami — Main Stylesheet
   The Agency South Florida Color Palette
   ============================================ */

:root {
  --red: #C8102E;
  --black: #000000;
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --mid-gray: #999999;
  --dark-gray: #333333;
  --gold: #B8963E;
  --font: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5 {
  color: var(--black);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1.2rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 0.75rem;
}

blockquote {
  border-left: 3px solid var(--red);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--black);
  background: var(--light-gray);
}

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

.container--narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

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

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

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

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.text-center { text-align: center; }
.text-red { color: var(--red); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.btn--primary:hover {
  background: #a00d24;
  border-color: #a00d24;
}

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

.btn--outline:hover {
  background: var(--white);
  color: var(--black);
}

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

.btn--outline-dark:hover {
  background: var(--black);
  color: var(--white);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav__logo-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--black);
}

.nav__logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 2px;
}

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

.nav__links a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-gray);
  transition: color 0.2s;
}

.nav__links a:hover { color: var(--red); }

.nav__cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 0.6rem 1.4rem;
}

.nav__cta:hover {
  background: #a00d24;
  color: var(--white) !important;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: all 0.3s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
  padding-top: 72px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0005 50%, #0a0a0a 100%);
  z-index: 0;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.25;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  width: 100%;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200,16,46,0.15);
  border: 1px solid rgba(200,16,46,0.4);
  color: #ff6b6b;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  margin-bottom: 2rem;
}

.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  display: inline-block;
}

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

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

.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero__stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero__stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  display: block;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.hero__stat-value span { color: var(--red); }

.hero__stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ============================================
   PRESS BAR
   ============================================ */
.press-bar {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2rem 0;
}

.press-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.press-bar__label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.press-bar__item {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}

.press-bar__item:hover { color: var(--white); }

/* ============================================
   INTRO SECTION
   ============================================ */
.intro__quote {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-style: italic;
  color: var(--black);
  line-height: 1.5;
  max-width: 750px;
  margin: 0 auto 2rem;
  text-align: center;
}

.intro__attribution {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  text-align: center;
}

/* ============================================
   FEATURED LISTING
   ============================================ */
.listing-card {
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.listing-card__image {
  width: 100%;
  height: 480px;
  background: linear-gradient(135deg, #1a1a1a, #2d0008);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.listing-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.listing-card__image-placeholder {
  text-align: center;
  color: rgba(255,255,255,0.2);
}

.listing-card__image-placeholder svg {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  display: block;
}

.listing-card__badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
}

.listing-card__content {
  padding: 2.5rem;
}

.listing-card__price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.listing-card__address {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
}

.listing-card__specs {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.listing-card__spec {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.listing-card__spec-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.listing-card__spec-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* ============================================
   ABOUT PREVIEW
   ============================================ */
.about-preview__image {
  background: var(--light-gray);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-preview__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-preview__content { padding: 1rem 0; }

.about-preview__content h2 { margin-bottom: 1.5rem; }

.about-preview__content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
}

.awards-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.award-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--light-gray);
  border-left: 3px solid var(--red);
}

.award-item__icon {
  color: var(--red);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.award-item__text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
}

/* ============================================
   PRESS SECTION
   ============================================ */
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.press-item {
  border: 1px solid #e8e8e8;
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}

.press-item:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}

.press-item__source {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.press-item__quote {
  font-size: 1rem;
  font-style: italic;
  color: var(--dark-gray);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.press-item__link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.press-item__link:hover { text-decoration: underline; }

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info { padding: 1rem 0; }

.contact-info h2 { margin-bottom: 1.5rem; }

.contact-info p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-detail__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.contact-detail__value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
}

.contact-detail__value a { color: var(--white); }
.contact-detail__value a:hover { color: var(--red); }

.contact-form {
  background: var(--white);
  padding: 2.5rem;
}

.contact-form h3 {
  color: var(--black);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-gray);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #ddd;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--dark-gray);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red);
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--black);
  padding: 3rem 0 2rem;
  border-top: 3px solid var(--red);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.footer__brand-sub {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}

.footer__brand-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  max-width: 280px;
}

.footer__col-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.footer__links a:hover { color: var(--white); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer__copyright {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}

.footer__social {
  display: flex;
  gap: 1.25rem;
}

.footer__social a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}

.footer__social a:hover { color: var(--red); }

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

.blog-card {
  border: 1px solid #e8e8e8;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.blog-card__image {
  height: 220px;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__content { padding: 1.75rem; }

.blog-card__category {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
  display: block;
}

.blog-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--mid-gray);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.blog-card__link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--red);
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
  background: var(--black);
  padding: 8rem 0 4rem;
  margin-top: 72px;
}

.page-header h1 { color: var(--white); margin-bottom: 1rem; }

.page-header p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.55);
  max-width: 560px;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-bio { font-size: 1.05rem; line-height: 1.9; color: var(--dark-gray); }
.about-bio h2 { margin: 3rem 0 1.5rem; font-size: 1.8rem; }
.about-bio h3 { margin: 2.5rem 0 1rem; font-size: 1.3rem; color: var(--red); }
.about-bio p { margin-bottom: 1.4rem; }

.timeline {
  position: relative;
  padding-left: 2rem;
  margin: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--red);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 0.4rem;
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 50%;
}

.timeline-item__year {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.3rem;
}

.timeline-item__content { font-size: 0.95rem; color: var(--dark-gray); }
.timeline-item__content strong { color: var(--black); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .grid-2, .grid-3, .contact-grid, .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero__stats { gap: 2rem; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid #eee;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  }

  .listing-card__specs { gap: 1.25rem; }
  .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 600px) {
  .section { padding: 4rem 0; }
  .hero__actions { flex-direction: column; }
  .press-bar__inner { gap: 1.5rem; }
  .hero__stats { flex-direction: column; gap: 1.5rem; }
}
