/* RRMasters - Shared Styles */
/* Navy Blue & Gold Color Scheme */

:root {
  --primary-navy: #1a2744;
  --secondary-gold: #d4af37;
  --light-blue: #f0f4f8;
  --dark-blue: #0f1a2e;
  --text-dark: #333;
  --text-light: #666;
  --white: #ffffff;
  --emergency-red: #dc3545;
  --success-green: #28a745;
}

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

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

/* Emergency Banner */
.emergency-banner {
  background: var(--emergency-red);
  color: white;
  text-align: center;
  padding: 12px 20px;
  font-weight: 600;
  position: relative;
  z-index: 1000;
}

.emergency-banner a {
  color: white;
  text-decoration: underline;
  margin-left: 10px;
}

/* Navigation */
.nav {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 999;
  transition: all 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav__logo img {
  height: 50px;
  width: auto;
}

.nav__menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav__link {
  color: var(--primary-navy);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 15px;
}

.nav__link:hover {
  color: var(--secondary-gold);
}

.nav__link--cta {
  background: var(--secondary-gold);
  color: var(--white);
  padding: 10px 25px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.nav__link--cta:hover {
  background: #b8941f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* Mobile Menu Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.nav__toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-navy);
  transition: all 0.3s ease;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section */
.section {
  padding: 80px 0;
}

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

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

/* Typography */
.section__label {
  color: var(--secondary-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  margin-bottom: 15px;
}

.section__title {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.section__description {
  font-size: 18px;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.section--dark .section__description {
  color: rgba(255,255,255,0.8);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 40px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

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

.btn--primary:hover {
  background: #b8941f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

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

.btn--secondary:hover {
  background: #0f1a2e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 39, 68, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--primary-navy);
  border: 2px solid var(--primary-navy);
}

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

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

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

/* Grid Systems */
.grid {
  display: grid;
  gap: 30px;
}

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

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

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Cards */
.card {
  background: var(--white);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.card__icon {
  font-size: 48px;
  color: var(--secondary-gold);
  margin-bottom: 20px;
}

.card__title {
  font-size: 22px;
  color: var(--secondary-gold);
  margin-bottom: 15px;
  font-weight: 700;
}

.card__description {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Footer */
.footer {
  background: var(--dark-blue);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer__section h3 {
  color: var(--secondary-gold);
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer__section ul {
  list-style: none;
}

.footer__section ul li {
  margin-bottom: 12px;
}

.footer__section a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__section a:hover {
  color: var(--secondary-gold);
}

.footer__section p {
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 10px;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  text-align: center;
  color: rgba(255,255,255,0.6);
}

.footer__logo {
  height: 60px;
  margin-bottom: 20px;
}

/* Form Elements */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary-navy);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 5px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--secondary-gold);
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer__content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 20px;
    gap: 20px;
    transition: left 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }
  
  .nav__menu.active {
    left: 0;
  }
  
  .nav__toggle {
    display: flex;
  }
  
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
  
  .section__title {
    font-size: 32px;
  }
  
  .footer__content {
    grid-template-columns: 1fr;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mt-40 { margin-top: 40px; }

.hidden {
  display: none;
}
