/* Drake Land Acquisitions - Header & Footer Exact Match */

/* Header Styles */
.drake-header {
  background: rgba(253, 251, 247, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: none;
  padding: 15px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  box-shadow: none;
}

.drake-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

.drake-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

.drake-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: auto;
  padding: 0;
}

/* Logo image styles - Optimized for header space */
.logo-image {
  height: 140px !important;
  width: auto;
  max-width: 500px;
  object-fit: contain;
  /* Ensure transparent background is preserved */
  background: transparent;
}

.drake-logo img {
  height: 140px !important;
  width: auto;
}

@media (max-width: 968px) {
  .logo-image {
    height: 100px !important;
    max-width: 380px;
  }
  
  .drake-logo img {
    height: 100px !important;
  }
}

/* Logo text styles removed - using image logo */

.drake-nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  margin-right: 20px;
}

.drake-nav-link {
  color: #2C3D50;
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 400;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.drake-nav-link:hover {
  color: #C17B39;
  border-bottom-color: #C17B39;
}

.drake-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #2C3D50;
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.drake-phone svg {
  width: 16px;
  height: 16px;
  fill: #C17B39;
}

.drake-phone:hover {
  color: #C17B39;
}

.drake-cta-button {
  background: #C17B39;
  color: #FFFFFF;
  padding: 8px 18px;
  border-radius: 4px;
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid #C17B39;
}

.drake-cta-button:hover {
  background: transparent;
  color: #C17B39;
}

.drake-mobile-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 4px;
  position: relative;
  z-index: 10000;
}

.drake-mobile-toggle span {
  width: 28px;
  height: 3px;
  background: #2C3D50;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Hamburger animation */
.drake-mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.drake-mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.drake-mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Footer Styles */
.drake-footer {
  background: linear-gradient(135deg, #2C3D50 0%, #2F4B3B 100%);
  border-top: 2px solid #E5E5E5;
  padding: 40px 0 20px;
  margin-top: auto;
  color: white;
}

.drake-footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr 1.5fr;
  gap: 40px;
  margin-bottom: 30px;
}

.drake-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo-image {
  height: 80px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
}

.footer-logo-image {
  height: 80px;
  width: auto;
  max-width: 400px;
  min-width: 300px;
  object-fit: contain;
  /* Logo should be white on dark background */
}

/* Footer logo text styles removed - using image logo */

.footer-tagline {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin: 0;
}

.footer-trust-badges {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.trust-badge {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  color: white;
  padding: 4px 8px;
  background: rgba(193, 123, 57, 0.3);
  border: 1px solid rgba(193, 123, 57, 0.5);
  border-radius: 3px;
  white-space: nowrap;
}

.drake-footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-column h4 {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-column a {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 2px 0;
}

.footer-column a:hover {
  color: #C17B39;
  text-decoration: underline;
  opacity: 1;
}

.drake-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drake-footer-contact h4 {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin: 0;
}

.footer-cta-text {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.footer-phone-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #C17B39;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  width: fit-content;
}

.footer-phone-button:hover {
  background: #2F4B3B;
  transform: translateY(-2px);
}

.footer-phone-button svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-hours {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.drake-footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.drake-footer-bottom p {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin: 5px 0;
  line-height: 1.5;
}

.footer-disclaimer {
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 968px) {
  .drake-nav-links {
    display: none;
    position: fixed;
    top: var(--mobile-menu-top, 120px);
    left: 0;
    right: 0;
    bottom: 0;
    background: #FDFBF7;
    flex-direction: column;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-top: 2px solid #E5E5E5;
    z-index: 9998;
    overflow-y: auto;
    gap: 15px;
    transition: top 0.3s ease;
  }
  
  .drake-nav-links.active {
    display: flex;
  }
  
  .drake-nav-link {
    font-size: 18px;
    padding: 12px 0;
    border-bottom: 1px solid #E5E5E5;
    width: 100%;
    text-align: left;
  }
  
  .drake-phone {
    font-size: 18px;
    padding: 12px 0;
    justify-content: flex-start;
  }
  
  .drake-cta-button {
    width: 100%;
    text-align: center;
    padding: 15px;
    font-size: 16px;
    margin-top: 10px;
  }
  
  .drake-mobile-toggle {
    display: flex;
  }
  
  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }
  
  .logo-image {
    height: 70px;
    max-width: 280px;
  }
  
  .drake-logo {
    height: auto;
  }
  
  .drake-nav {
    height: 75px;
  }
  
  .drake-footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .drake-footer-links {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .drake-header {
    padding: 8px 0;
  }
  
  .drake-nav {
    height: 80px;
  }
  
  .drake-nav-links {
    top: 80px;
  }
  
  .drake-logo {
    height: auto;
  }
  
  .logo-image {
    height: 60px;
    max-width: 230px;
  }
  
  .footer-logo-image {
    height: 60px;
    max-width: 250px;
    min-width: 200px;
  }
  
  .drake-container {
    padding: 0 15px;
  }
  
  .drake-footer {
    padding: 30px 0 15px;
  }
  
  .footer-column h4 {
    font-size: 13px;
  }
  
  .footer-column a {
    font-size: 12px;
  }
}

/* Ensure proper spacing with fixed header */
body {
  padding-top: 140px;
}

@media (max-width: 968px) {
  body {
    padding-top: 120px;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 80px;
  }
}

main {
  min-height: calc(100vh - 400px);
}

/* Header scroll effect */
.drake-header.scrolled {
  background: rgba(253, 251, 247, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Dynamic mobile menu positioning */
:root {
  --mobile-menu-top: 120px;
}

/* Ensure menu is never cut off at the top */
@media (max-width: 968px) {
  .drake-nav-links.active {
    max-height: calc(100vh - var(--mobile-menu-top, 120px));
  }
  
  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
  }
}