/* Extra mobile padding for the 'not every brand needs full blown...' section and image below */
@media (max-width: 768px) {
  .services-details-section .service-item {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .services-details-section .service-content {
    padding-left: 24px !important;
    padding-right: 24px !important;
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }
  .services-details-section .service-image {
    padding-left: 24px !important;
    padding-right: 24px !important;
    margin-bottom: 32px !important;
  }
}
/* Mobile: Add more padding for special section and image below */
@media (max-width: 768px) {
  .services-details-section .service-item,
  .services-details-section .service-content {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .services-details-section .service-image {
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-bottom: 24px !important;
  }
}
/* Use heading font for nav menu links */
.nav-links a {
  font-family: 'Butler Ultra Light', 'Inter', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;

}
/* FONTS */
@font-face {
  font-family: 'Butler Ultra Light';
  src: url('../assets/Butler-UltraLight.woff') format('woff');
  font-weight: 200;
  font-style: normal;
}

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

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: #000000;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Performance Optimizations */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* COLOR PALETTE */
:root {
  --cream: #EFE6DD;
  --beige: #C8B895;
  --sage: #B3BEB4;
  --black: #000000;
  --white: #ffffff;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Butler Ultra Light', sans-serif;
  font-weight: 200;
  line-height: 1.2;
  margin: 0;
}

p, span, div, a, li, button, input, textarea, label {
  font-family: 'Inter', sans-serif;
}

p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--black);
  background-color: transparent;
  color: var(--black);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

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

/* LAYOUT */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER & NAVIGATION - GLOBAL STYLES */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  padding: 20px;
}

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Butler Ultra Light', sans-serif;
  font-size: 1.5rem;
  font-weight: 200;
}

.hamburger {
  position: fixed;
  top: 55px;
  right: 55px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border: 2px solid var(--white);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  gap: 6px;
  transition: all 0.3s ease;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hamburger div {
  width: 30px;
  height: 2px;
  background: var(--black);
  transition: 0.3s;
}

/* Hamburger Animation */
.hamburger.active div:nth-child(1) {
  transform: rotate(-45deg) translate(-6px, 6px);
}

.hamburger.active div:nth-child(2) {
  transform: rotate(45deg) translate(-6px, -6px);
}

.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 400px;
  height: 100vh;
  background: white;
  z-index: 999;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.nav-menu.active {
  right: 0;
}

.nav-content {
  padding: 80px 40px 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.nav-logo {
  margin-bottom: 60px;
  text-align: center;
}

.nav-logo img {
  height: 80px;
  width: auto;
}

.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-links li {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #E5E5E5;
}

.nav-links li:last-child {
  border-bottom: none;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-size: 1.25rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #B8860B;
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* SCROLL ARROW - GLOBAL STYLES */
.scroll-arrow {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2s infinite;
  width: 50px;
  height: 50px;
  border: 2px solid var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.scroll-arrow:hover {
  border-color: var(--beige);
  background-color: rgba(200, 184, 149, 0.1);
}

.scroll-arrow span {
  color: var(--black);
  font-size: 1.5rem;
  font-weight: bold;
  transition: color 0.3s ease;
}

.scroll-arrow:hover span {
  color: var(--beige);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* FOOTER - GLOBAL STYLES */
.footer {
  background-color: var(--white);
  padding: 80px 0 40px;
  border-top: 1px solid var(--black);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 60px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--beige);
}

.footer-logo img {
  width: 180px;
  height: auto;
}

.footer-sections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 50px;
}

.footer-section {
  padding: 30px 20px;
  border-right: 1px solid var(--beige);
}

.footer-section:last-child {
  border-right: none;
}

.footer-section h4 {
  font-size: 1.2rem;
  color: var(--black);
  margin-bottom: 20px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

.footer-section ul {
  list-style: none;
  text-align: center;
}

.footer-section ul li {
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(200, 184, 149, 0.3);
}

.footer-section ul li:last-child {
  border-bottom: none;
}

.footer-section ul li a {
  color: var(--black);
  text-decoration: none;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: color 0.3s ease;
  display: block;
  padding: 5px 0;
  text-align: center;
}

.footer-section ul li a:hover {
  color: var(--beige);
}

.social-links {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.social-links a {
    margin-top: 10px !important;
  color: var(--black);
  transition: color 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border: 1px solid var(--black);
  border-radius: 50%;
}

.social-links a:hover {
  color: var(--beige);
  transform: scale(1.1);
  border-color: var(--beige);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--black);
}

.footer-bottom p {
  color: var(--black);
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  margin: 0;
}

/* RESPONSIVE DESIGN - GLOBAL STYLES */
@media (max-width: 768px) {
  .hamburger {
    right: 20px;
    top: 20px;
    width: 50px;
    height: 50px;
  }
  
  .hamburger div {
    width: 25px;
  }
  
  .scroll-arrow {
    bottom: 20px;
    width: 40px;
    height: 40px;
  }
  
  .scroll-arrow span {
    font-size: 1.2rem;
  }
  
  .nav-menu {
    width: 100%;
  }
  
  .footer-sections {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .footer-section {
    border-right: none;
    border-bottom: 1px solid var(--beige);
    padding: 20px 0;
  }
  
  .footer-logo {
    margin-top: -70px !important;
    padding-bottom: 10px !important;
  }
  .footer-section:last-child {
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .hamburger {
    right: 15px;
    top: 15px;
    width: 45px;
    height: 45px;
  }
  
  .hamburger div {
    width: 20px;
  }
  
  
  .scroll-arrow {
    bottom: 15px;
    width: 35px;
    height: 35px;
  }
  
  .scroll-arrow span {
    font-size: 1rem;
  }
  
  .nav-content {
    padding: 60px 20px 20px;
  }
  
  .footer-content {
    padding: 0 20px;
  }
  
  .footer-logo img {
    width: 150px;
  }
  
  .social-links {
    justify-content: center;
  }
}
