/* Add this to the top of your CSS to prevent horizontal swiping */
html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* ==========================================
   1. VARIABLES (Color Palette & Settings)
   ========================================== */
:root {
  --primary-navy: #122939;
  --secondary-gold: #a88d3e;
  --bg-offwhite: #ececec;
  --text-dark: #333333;
  --border-radius: 5px;
}

/* ==========================================
   2. LOCAL FONTS
   ========================================== */
/* Plus Jakarta Sans (Headings) */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../assets/fonts/plus-jakarta-sans-v8-latin-600.woff2")
    format("woff2");
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../assets/fonts/plus-jakarta-sans-v8-latin-700.woff2")
    format("woff2");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../assets/fonts/plus-jakarta-sans-v8-latin-500italic.woff2")
    format("woff2");
  font-weight: 500;
  font-style: italic;
}

/* Work Sans (Body Text) */
@font-face {
  font-family: "Work Sans";
  src: url("../assets/fonts/work-sans-v19-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Work Sans";
  src: url("../assets/fonts/work-sans-v19-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Work Sans";
  src: url("../assets/fonts/work-sans-v19-latin-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
}

/* ==========================================
   3. BASE STYLES & RESET
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: "Work Sans", sans-serif;
  background-color: var(--bg-offwhite);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased; /* Makes fonts look sharper on Mac/iOS */
}

/* ==========================================
   4. GLOBAL TYPOGRAPHY
   ========================================== */
/* Master Heading Styles */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--primary-navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

/* Specific H2 Standardization */
h2 {
  font-size: 2.5rem;
  font-weight: 550;
  letter-spacing: -1.5px;
}

/* Master Paragraph Styles */
p {
  font-family: "Work Sans", sans-serif;
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ==========================================
   5. COMPONENTS
   ========================================== */
/* Base Button Style */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-family: "Work Sans", sans-serif;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* ==========================================
   6. FOOTER SECTION
   ========================================== */
.premium-footer {
  background-color: var(--primary-navy);
  color: var(--bg-offwhite);
  padding: 80px 5% 30px;
  border-top: 4px solid var(--secondary-gold);
}

/* Footer Layout Grid */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto auto auto;
  justify-content: center;
  gap: 100px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  align-items: start;
}

/* Footer Brand Column */
.footer-logo {
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 24px;
  letter-spacing: 0em;
  line-height: 1.5;
}

.footer-logo .gold-text {
  color: var(--secondary-gold);
}

/* Footer Paragraphs Overrides (Slightly smaller than global standard) */
.footer-brand p,
.footer-section p {
  color: var(--bg-offwhite);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-top: 0;
  margin-bottom: 0px;
}

.footer-brand p {
  max-width: 400px;
  padding-right: 20px;
}

/* Footer Section Headers */
.footer-section h4 {
  font-size: 1.1rem;
  color: var(--secondary-gold);
  margin-top: 8px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  line-height: 1;
}

/* Footer Social Block */
.social-block {
  margin-top: 30px;
}

.social-title {
  font-size: 1.15rem;
  color: #ffffff;
  margin: 0 0 10px 0;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.social-divider {
  width: 35px;
  height: 2px;
  background-color: var(--secondary-gold);
  margin-bottom: 20px;
  border-radius: 2px;
}

.social-icons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.social-icon {
  color: #ffffff;
  display: inline-flex;
  transition: all 0.3s ease;
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.social-icon:hover {
  color: var(--secondary-gold);
  transform: translateY(-2px);
}

/* --- Clickable Phone Link --- */
.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--bg-offwhite);
  text-decoration: none;
  font-size: 1.05rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
}

.contact-link:hover {
  color: var(--secondary-gold);
  transform: translateX(4px); /* A subtle slide to the right on hover */
}

.contact-icon {
  width: 20px;
  height: 20px;
  opacity: 0.8;
}

/* Bottom Copyright */
.footer-bottom {
  text-align: center;
  padding-top: 30px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  margin: 0; /* Overrides the global paragraph bottom margin */
}

/* ==========================================
   7. MOBILE RESPONSIVENESS
   ========================================== */
@media (max-width: 768px) {
  /* Footer Mobile */
  .premium-footer {
    padding: 60px 5% 20px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding-bottom: 40px;
  }

  .footer-brand p {
    max-width: 100%;
    margin: 0 auto 8px auto;
    padding-right: 0; /* Remove desktop right padding */
  }

  /* Center Socials on Mobile */
  .social-divider {
    margin: 0 auto 20px auto;
  }

  .social-icons {
    justify-content: center;
  }

  .contact-link {
    justify-content: center;
  }
}
