/*
Theme Name: IPMS Theme
Theme URI: http://innovativepropertyonline.com
Author: Innovative Property Management Services LLC
Description: Custom theme for Innovative Property Management Services LLC
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: ipms
*/

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

:root {
  --red: #A30000;
  --red-dark: #7a0000;
  --charcoal: #1a1a1a;
  --dark: #111111;
  --mid: #2a2a2a;
  --warm-white: #faf9f7;
  --text: #333333;
  --text-light: #666666;
  --border: #e0ddd8;
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--warm-white); line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* ========== NAVIGATION ========== */
nav.site-nav { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(17,17,17,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.06); transition: all 0.3s; }
nav.site-nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.3); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo-mark { width: 38px; height: 38px; background: var(--red); border-radius: 3px; }
.nav-logo-text { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 15px; color: #fff; letter-spacing: 2px; text-transform: uppercase; line-height: 1.2; }
.nav-logo-text span { display: block; font-weight: 300; font-size: 10px; letter-spacing: 3px; color: rgba(255,255,255,0.5); }
.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: rgba(255,255,255,0.6); font-size: 13px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; transition: color 0.3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--red); transition: width 0.3s; }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: #fff; }
.nav-links a.active::after { width: 100%; }
.nav-cta { background: var(--red); color: #fff !important; padding: 10px 24px; border-radius: 3px; font-size: 12px !important; letter-spacing: 2px !important; transition: background 0.3s !important; }
.nav-cta:hover { background: var(--red-dark) !important; }
.nav-cta::after { display: none !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: #fff; transition: all 0.3s; }

/* ========== PAGE HEADER ========== */
.page-header { padding: 140px 40px 80px; position: relative; overflow: hidden; background: var(--dark); background-size: cover; background-position: center; }
.page-header::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(17,17,17,0.75), rgba(17,17,17,0.85)); }
.page-header.about-header { background-image: url('images/about-bg.jpg'); }
.page-header.services-header { background-image: url('images/services-bg.jpg'); }
.page-header.contact-header { background-image: url('images/contact-bg.jpg'); }
.page-header-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.page-tag { font-size: 12px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; color: var(--red); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.page-tag::before { content: ''; width: 40px; height: 1px; background: var(--red); }
.page-title { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: clamp(36px, 5vw, 56px); color: #fff; line-height: 1.1; }
.page-desc { font-size: 17px; color: rgba(255,255,255,0.5); line-height: 1.7; font-weight: 300; max-width: 600px; margin-top: 20px; }

/* ========== HERO ========== */
.hero { min-height: 100vh; background: linear-gradient(rgba(17,17,17,0.72), rgba(17,17,17,0.82)), url('images/hero-bg.jpg') center/cover no-repeat; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -200px; top: -200px; width: 800px; height: 800px; background: radial-gradient(circle, rgba(163,0,0,0.08) 0%, transparent 70%); }
.hero-content { max-width: 1200px; margin: 0 auto; padding: 120px 40px 80px; position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hero-left { animation: fadeUp 1s ease 0.2s both; }
.hero-tag { font-size: 12px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; color: var(--red); margin-bottom: 28px; display: flex; align-items: center; gap: 12px; }
.hero-tag::before { content: ''; width: 40px; height: 1px; background: var(--red); }
.hero h1 { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: clamp(42px, 5.5vw, 72px); color: #fff; line-height: 1.05; letter-spacing: -1px; margin-bottom: 28px; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero-desc { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,0.55); max-width: 480px; margin-bottom: 40px; font-weight: 300; }
.hero-btn { display: inline-block; background: var(--red); color: #fff; text-decoration: none; padding: 16px 40px; font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 14px; letter-spacing: 3px; text-transform: uppercase; border-radius: 3px; transition: all 0.3s; }
.hero-btn:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(163,0,0,0.3); }
.hero-right { animation: fadeUp 1s ease 0.5s both; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: rgba(255,255,255,0.06); border-radius: 4px; overflow: hidden; }
.stat-card { background: rgba(0,0,0,0.35); backdrop-filter: blur(8px); padding: 40px 32px; transition: background 0.3s; }
.stat-card:hover { background: rgba(0,0,0,0.45); }
.stat-number { font-family: 'Oswald', sans-serif; font-size: 48px; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 8px; }
.stat-number span { color: var(--red); }
.stat-number.small { font-size: 32px; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.4); letter-spacing: 1px; text-transform: uppercase; font-weight: 500; }

/* ========== SECTIONS ========== */
section.content-section { padding: 100px 40px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-tag { font-size: 12px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; color: var(--red); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.section-tag::before { content: ''; width: 40px; height: 1px; background: var(--red); }
.section-title { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: clamp(32px, 4vw, 50px); color: var(--charcoal); line-height: 1.1; margin-bottom: 24px; }
.section-title.light { color: #fff; }
.section-link { color: var(--red); text-decoration: none; font-family: 'Oswald', sans-serif; font-size: 15px; letter-spacing: 2px; text-transform: uppercase; transition: opacity 0.3s; }
.section-link:hover { opacity: 0.7; }
.services-intro { max-width: 600px; margin-bottom: 60px; position: relative; }
.services-intro p { font-size: 17px; color: rgba(255,255,255,0.5); line-height: 1.7; font-weight: 300; }

/* ========== ABOUT ========== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-top: 60px; }
.about-text { font-family: 'Source Serif 4', serif; font-size: 18px; line-height: 1.8; color: var(--text); }
.about-text p + p { margin-top: 20px; }
.about-policy { background: var(--charcoal); padding: 48px; border-radius: 4px; position: relative; }
.about-policy::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--red); border-radius: 4px 0 0 4px; }
.about-policy h3 { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 14px; letter-spacing: 3px; text-transform: uppercase; color: var(--red); margin-bottom: 20px; }
.about-policy p { font-family: 'Source Serif 4', serif; font-size: 16px; line-height: 1.9; color: rgba(255,255,255,0.7); }
.leadership { margin-top: 80px; padding-top: 80px; border-top: 1px solid var(--border); }
.leadership h3 { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 14px; letter-spacing: 3px; text-transform: uppercase; color: var(--red); margin-bottom: 40px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px; }
.team-member { padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: 4px; transition: all 0.3s; }
.team-member:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
.team-name { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 17px; color: var(--charcoal); margin-bottom: 4px; }
.team-role { font-size: 13px; color: var(--text-light); }

/* ========== SERVICES ========== */
.services-page { background: var(--dark); }
.services-section { padding: 80px 40px 120px; position: relative; }
.services-section::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent, transparent 119px, rgba(255,255,255,0.015) 119px, rgba(255,255,255,0.015) 120px); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(255,255,255,0.06); border-radius: 4px; overflow: hidden; position: relative; }
.service-card { background: rgba(255,255,255,0.02); padding: 48px 36px; transition: all 0.4s; position: relative; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 3px; background: var(--red); transition: width 0.4s; }
.service-card:hover { background: rgba(255,255,255,0.05); }
.service-card:hover::before { width: 100%; }
.service-number { font-family: 'Oswald', sans-serif; font-size: 48px; font-weight: 700; color: rgba(255,255,255,0.06); margin-bottom: 16px; line-height: 1; }
.service-card h3 { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 22px; color: #fff; margin-bottom: 20px; letter-spacing: 0.5px; }
.service-card ul { list-style: none; padding: 0; }
.service-card li { font-size: 14px; color: rgba(255,255,255,0.45); padding: 6px 0; padding-left: 16px; position: relative; line-height: 1.5; }
.service-card li::before { content: ''; position: absolute; left: 0; top: 13px; width: 6px; height: 1px; background: var(--red); }
.service-card.cta-card { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.cta-card .service-number { color: rgba(163,0,0,0.15); }
.cta-card h3 { font-size: 18px; margin-bottom: 12px; }
.cta-card a { color: var(--red); text-decoration: none; font-family: 'Oswald', sans-serif; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; border-bottom: 1px solid var(--red); padding-bottom: 2px; transition: opacity 0.3s; }
.cta-card a:hover { opacity: 0.7; }

/* ========== CONTACT ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 60px; }
.contact-left p { font-family: 'Source Serif 4', serif; font-size: 18px; line-height: 1.8; color: var(--text); margin-bottom: 40px; max-width: 460px; }
.contact-email-btn { display: inline-block; background: var(--red); color: #fff; text-decoration: none; padding: 18px 48px; font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 15px; letter-spacing: 3px; text-transform: uppercase; border-radius: 3px; transition: all 0.3s; }
.contact-email-btn:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(163,0,0,0.3); }
.contact-phone { margin-top: 28px; font-size: 15px; color: var(--text-light); }
.contact-phone a { color: var(--charcoal); text-decoration: none; font-weight: 600; }
.contact-fax { margin-top: 8px; font-size: 14px; color: var(--text-light); }
.contact-web { margin-top: 8px; font-size: 14px; color: var(--text-light); }
.contact-web a { color: var(--red); text-decoration: none; }
.locations { display: flex; flex-direction: column; gap: 36px; }
.location-card { background: #fff; border: 1px solid var(--border); border-radius: 4px; padding: 36px; position: relative; transition: all 0.3s; }
.location-card:hover { border-color: var(--red); box-shadow: 0 8px 30px rgba(0,0,0,0.06); }
.location-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--red); border-radius: 4px 0 0 4px; }
.location-label { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.location-address { font-size: 16px; line-height: 1.7; color: var(--text); }

/* ========== FOOTER ========== */
footer.site-footer { background: var(--dark); padding: 60px 40px; border-top: 3px solid var(--red); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-brand { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 14px; color: rgba(255,255,255,0.4); letter-spacing: 2px; text-transform: uppercase; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.25); }
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a { color: rgba(255,255,255,0.35); text-decoration: none; font-size: 13px; transition: color 0.3s; letter-spacing: 1px; }
.footer-links a:hover { color: var(--red); }

/* ========== ANIMATIONS ========== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== RESPONSIVE ========== */
@media (max-width: 968px) {
  .hero-content { grid-template-columns: 1fr; gap: 50px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
}
@media (max-width: 768px) {
  section.content-section { padding: 80px 24px; }
  .nav-inner { padding: 0 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; width: 100%; background: rgba(17,17,17,0.98); padding: 24px 40px 32px; gap: 20px; }
  .hero-content { padding: 100px 24px 60px; }
  .services-section { padding: 60px 24px 80px; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
  .page-header { padding: 120px 24px 60px; }
}
@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; }
  .stat-card { padding: 28px 24px; }
  .team-grid { grid-template-columns: 1fr; }
}