/*
  Built With Style - Site-Specific Styles
  Contains layout, sections, and project-specific visual styling
  
  MOVED FROM style.css during CSS refactor:
  - Hero section styles (.hero, .hero-content-wrapper, .hero-content, etc.)
  - About section styles (.about-section, .about-content-wrapper, etc.)
  - Process section styles (.process-section, .info-boxes-grid, etc.)
  - Testimonials section styles (.testimonials-section, .testimonial-card, etc.)
  - Instagram section styles (.instagram-section, .instagram-widget-wrapper, etc.)
  - All responsive media queries for sections
  - Project-specific overrides and legacy compatibility variables
*/

/* Override background color from global.css for this project */
html,
body {
  background-color: #f0f0f0;
  /* Light grey background for site */
}

/* Prevent horizontal scrolling only on mobile */
@media (max-width: 768px) {

  html,
  body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }
}

body {
  padding-top: 110px;
  /* Add space for fixed header with larger logo */
}

/* Prevent horizontal overflow only on mobile */
@media (max-width: 768px) {

  .container,
  .header-container,
  .hero-content-wrapper {
    max-width: 100%;
    overflow-x: hidden;
  }
}

/* Legacy CSS custom properties - kept for backward compatibility */
/* Moved from style.css - original :root variables */
/* Variables now unified in global.css */

/* First heading margin resets - moved from style.css */
.hero-title:first-child,
.about-text-column h2:first-child {
  margin-top: 0;
}

/* -------------------------------------------------------------------------- */
/* HEADER NAVIGATION - Desktop-first design matching WordPress theme         */
/* -------------------------------------------------------------------------- */
.header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.25rem 0;
}

.header-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 6.25rem;
  /* 100px equivalent - scales with root font size */
  width: auto;
}

/* Fallback text logo if image not available */
.header-logo-text {
  font-family: var(--font-family-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-primary);
  text-decoration: none;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav-menu li a {
  color: var(--clr-text);
  text-decoration: none;
  font-family: var(--font-family-body);
  font-size: var(--font-base);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu li a:hover {
  color: var(--clr-primary);
}

.nav-menu li.current-menu-item a {
  color: var(--clr-primary);
  font-weight: 600;
}

.header-cta {
  margin-left: 1rem;
}

/* Mobile menu toggle (initially hidden) */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--clr-primary);
  transition: all 0.3s ease;
}

/* Mobile menu overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  display: flex;
  opacity: 1;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 1rem;
  overflow-y: auto;
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
  width: 100%;
}

.mobile-menu-list li {
  margin: 1rem 0;
}

.mobile-menu-link {
  color: var(--clr-text);
  text-decoration: none;
  font-family: var(--font-family-body);
  font-size: 1.5rem;
  font-weight: 500;
  transition: color 0.3s ease;
  display: block;
  padding: 0.5rem 1rem;
}

.mobile-menu-link:hover {
  color: var(--clr-primary);
}

.mobile-menu-cta {
  margin-top: 1rem;
}

/* Hamburger animation when menu is active */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* -------------------------------------------------------------------------- */
/* HERO SECTION - moved from style.css                                       */
/* -------------------------------------------------------------------------- */
.hero {
  position: relative;
  /* Mobile-first: use smaller 87KB image */
  background-image: url('../assets/images/home/outdoor-timber-deck-v2-Mobile.jpg');
  background-size: cover;
  background-position: 41% 44%;
  background-repeat: no-repeat;
  background-attachment: scroll; /* Better mobile performance */
  color: #FFFFFF;
  min-height: 90vh;
  width: 100%;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.40);
  z-index: -1;
}

.hero-content-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  /* Single column layout */
  align-items: center;
  max-width: var(--container-width-hero);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  width: 100%;
  min-height: 90vh;
  position: relative;
  z-index: 2;
}

.hero-content {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  text-align: left;
}

/* Hero text styling now uses global .hero-title and .hero-subtitle classes */

/* HERO SECTION - moved from style.css */
/* Note: .hero-button styles removed - now using global button system */

/* -------------------------------------------------------------------------- */
/* PAGE INTRO SECTION - for gallery and other standalone pages              */
/* -------------------------------------------------------------------------- */
.page-intro {
  padding: 3rem 0 1rem 0;
}

.page-intro-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.page-intro-content p {
  font-size: var(--font-lg);
  line-height: 1.7;
  margin-top: 1.5rem;
}

/* -------------------------------------------------------------------------- */
/* ABOUT SECTION - moved from style.css                                      */
/* -------------------------------------------------------------------------- */
.about-section {
  padding: 3rem 0 3rem 0;
}

.about-content-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  /* Mobile: 1 column */
  column-gap: 0rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-text-column,
.about-image-column {
  padding: 2rem;
}

/* About section heading and paragraph styles now use global h2 and p styles */

.about-image-column {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image-column figure {
  margin: 0;
}

.about-image-column img {
  border-radius: 10px;
  object-fit: cover;
  max-width: 497px;
  width: 100%;
  height: auto;
  display: block;
}

/* -------------------------------------------------------------------------- */
/* OUR PROCESS SECTION - moved from style.css                               */
/* -------------------------------------------------------------------------- */
.process-section {
  padding: 3rem 0;
  position: relative;
}

/* Custom wider container for process section to make cards more square */
.process-section>.container {
  max-width: 1400px;
  /* Wider than default container */
}

.process-content-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  /* Mobile: 1 column */
  align-items: center;
}

.process-content-wrapper h2 {
  text-align: center;
}

/* Process section heading now uses global h2 styles */

.info-boxes-grid {
  display: grid;
  grid-template-columns: 1fr;
  /* Mobile: 1 column */
  column-gap: 1rem;
  row-gap: 1rem;
  padding: 1.5rem 0 1.5rem;
}

.info-box-column {
  display: flex;
  flex-direction: column;
  min-height: 1vh;
  align-self: stretch;
}

.info-box {
  height: 100%;
  min-height: 350px;
  /* Increased height to make cards more square */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* Align content to top for consistent alignment */
}

/* Button wrapper styling now uses global .button-wrapper class */

/* -------------------------------------------------------------------------- */
/* TESTIMONIALS SECTION - moved from style.css                              */
/* -------------------------------------------------------------------------- */
.testimonials-section {
  background-color: #2c5062;
  padding: 4rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  /* Mobile: 1 column */
  gap: 2rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 220px;
  gap: 1rem;
  padding: 1.25rem;
}

/* Testimonial stars moved to global .stars class */

.testimonial-card blockquote {
  margin: 0;
}

.testimonial-quote {
  font-family: 'Proza Libre', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #2D3748;
  margin: 0;
  text-align: center;
}

.testimonial-author {
  font-family: 'Proza Libre', sans-serif;
  font-size: 1rem;
  color: #718096;
  font-style: normal;
  margin: 0;
}

.testimonial-author strong {
  color: #2c5062;
}

/* Custom container width for testimonials section */
.testimonials-section>.container {
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
}

/* -------------------------------------------------------------------------- */
/* INSTAGRAM SECTION - moved from style.css                                  */
/* -------------------------------------------------------------------------- */
.instagram-section {
  background-color: #fff;
  padding: 4rem 0 2rem 0;
}

.instagram-section .section-heading {
  color: #2c5062;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.instagram-title-icon,
.instagram-icon {
  flex-shrink: 0;
}

.instagram-title-icon {
  width: 32px;
  height: 32px;
  color: #2c5062;
}

.instagram-icon {
  width: 20px;
  height: 20px;
}

.instagram-widget-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  /* TODO: Review transform scale for responsiveness - consider viewport units or padding/margins for dynamic sizing */
  transform: scale(1.25);
  /* Visual requirement - test thoroughly on all devices */
  transform-origin: center;
  padding: 2rem 0;
  overflow: hidden;
  /* Prevent Instagram widget from causing horizontal scroll */
}

.instagram-widget-wrapper img {
  border-radius: 8px !important;
  transition: transform 0.3s ease !important;
}

.instagram-widget-wrapper img:hover {
  transform: scale(1.05) !important;
}

/* Button wrapper styling now uses global .button-wrapper class */

/* INSTAGRAM SECTION - moved from style.css */
/* Note: .instagram-button styles removed - now using global button system */

/* -------------------------------------------------------------------------- */
/* SERVICES SECTION - Service cards with images                             */
/* -------------------------------------------------------------------------- */
.services-section {
  padding: 4rem 0;
}

.services-content-wrapper h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  /* Mobile: 1 column */
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.service-image {
  position: relative;
  overflow: hidden;
  height: 500px;
  /* Much taller for full height appearance */
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-title {
  font-family: var(--font-family-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

.service-description {
  font-family: var(--font-family-body);
  font-size: var(--font-base);
  line-height: 1.6;
  color: var(--clr-text-muted);
  margin: 0;
  flex: 1;
}

.gallery-toggle {
  margin-top: 1rem;
  width: 100%;
  justify-content: center;
  gap: 0.5rem;
}

/* Active state for gallery toggle button - matches hover state */
.gallery-toggle.gallery-active {
  background-color: var(--clr-primary);
  color: var(--clr-text-inverse);
}

.gallery-toggle svg {
  flex-shrink: 0;
}

/* Responsive Services Grid */
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    /* Tablet & Desktop: 3 columns */
    gap: 2.5rem;
  }

  .service-image {
    height: 350px;
    /* Tall vertical images on tablet */
  }

  .service-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .service-title {
    font-size: 1.25rem;
  }

  .service-description {
    font-size: 0.9rem;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    gap: 3rem;
  }

  .service-image {
    height: 500px;
    /* Full height images on desktop to match reference */
  }

  .service-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .service-title {
    font-size: 1.375rem;
  }

  .service-description {
    font-size: var(--font-base);
  }
}

/* -------------------------------------------------------------------------- */
/* RESPONSIVE STYLES - moved from style.css                                  */
/* -------------------------------------------------------------------------- */

/*
  BREAKPOINT SYSTEM OVERVIEW:
  
  📱 TINY CANVAS (Mobile): 0px to 767.98px
     - All grids: 1 column (stacked vertically)
     - Base styles (no media query needed)
  
  📱 MEDIUM CANVAS (Tablet): 768px to 1199.98px  
     - All grids: 2 columns (side-by-side)
     - Uses: @media (min-width: 768px)
    🖥️ LARGE DESKTOP: 1450px and up
     - Process section: 4 columns (only section that gets 4 columns)
     - Other sections: stay at 2 columns for readability
     - Uses: @media (min-width: 1450px)
       Additional breakpoints for typography and spacing:
  - 767.98px and below: Mobile-specific spacing adjustments
  - 480px and below: Extra small mobile adjustments
  - Hero title uses clamp() for smooth responsive scaling
  
  GRID TRANSITIONS SUMMARY:
  📱 → 📱 → 🖥️
  Hero:         1col → 2col → 2col
  About:        1col → 2col → 2col  
  Process:      1col → 2col → 4col ⭐
  Testimonials: 1col → 2col → 2col
*/

/* BREAKPOINT 1: Medium Canvas (Tablet) - 768px to 1199.98px */
/* TRANSITION: 1 column → 2 columns for ALL grids */
@media (min-width: 768px) {
  /* Desktop: use larger image and fixed attachment */
  .hero {
    background-image: url('../assets/images/home/outdoor-timber-deck-v2.webp');
    background-attachment: fixed;
  }

  .hero-content-wrapper {
    /* Keep single column, but position content to left side */
    grid-template-columns: 1fr;
    justify-items: start;
    /* Align content to left */
  }

  .hero-content {
    max-width: 50%;
    /* Content takes up left half visually */
  }

  /* Restore about section padding on tablet+ but reduce for consistency */
  .about-text-column,
  .about-image-column {
    padding: 1rem;
    /* Reduced from 2rem for better consistency with other sections */
  }

  /* Adjust hero title size for tablet to prevent wrapping in 50% width */
  .hero-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    /* Responsive scaling for tablet+ */
    line-height: 1.2;
    /* Tighter line height for better spacing */
  }

  .about-content-wrapper {
    grid-template-columns: repeat(2, 1fr);
    /* About: 1→2 columns */
  }

  .info-boxes-grid {
    grid-template-columns: repeat(2, 1fr);
    /* Process: 1→2 columns */
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    /* Testimonials: 1→2 columns */
  }
}

/* BREAKPOINT 2: Large Desktop - 1450px and up */
/* TRANSITION: Process section only goes 2→4 columns, others stay at 2 */
@media (min-width: 1450px) {
  .info-boxes-grid {
    grid-template-columns: repeat(4, 1fr);
    /* Process ONLY: 2→4 columns */
  }

  /* Hero, About, Testimonials: stay at 2 columns for readability */
}

/* MOBILE-SPECIFIC BREAKPOINTS (max-width queries) */

/* General mobile styles - 768px and below */
/* TRANSITION: Instagram section gets smaller padding and icons */
@media (max-width: 768px) {
  .instagram-section {
    padding: 3rem 0;
    /* Instagram: 4rem → 3rem padding */
  }

  .instagram-section .section-heading {
    font-size: 2rem;
    /* Instagram heading: 2.5rem → 2rem */
    margin-bottom: 2rem;
    /* Instagram heading margin: 3rem → 2rem */
    gap: 0.5rem;
    /* Instagram icon gap: 0.75rem → 0.5rem */
  }

  .instagram-title-icon {
    width: 28px;
    /* Instagram icon: 32px → 28px */
    height: 28px;
  }

  .instagram-button-wrapper {
    margin-top: 2rem;
    margin-bottom: 0;
  }
}

/* Mobile + Tablet layout overrides - 1024px and below */
/* TRANSITION: Hero layout changes, background attachment, button styling, mobile header */
@media (max-width: 1024px) {

  /* Fix Instagram widget overflow on mobile */
  .instagram-widget-wrapper {
    transform: scale(1.1);
    /* Smaller scale on mobile to prevent overflow */
    overflow: hidden;
  }

  /* Header mobile/tablet styles - use hamburger menu for tablet too */
  .header-nav .nav-menu {
    display: none;
    /* Hide desktop menu on mobile AND tablet */
  }

  .header-cta {
    display: none;
    /* Hide CTA button on mobile/tablet for cleaner look */
  }

  .mobile-menu-toggle {
    display: flex;
    /* Show hamburger menu on mobile AND tablet */
  }

  /* Scale down logo for tablet */
  .header-logo img {
    height: 5rem;
    /* 80px equivalent - smaller for tablet */
  }

  /* Responsive header padding */
  .header {
    padding: 0.2rem 0;
  }

  body {
    padding-top: 90px;
    /* Adjust for smaller logo */
  }
}

/* Mobile-specific overrides - 767.98px and below */
/* TRANSITION: Hero layout changes, background attachment, button styling */
@media (max-width: 767.98px) {

  /* Scale down logo further for mobile */
  .header-logo img {
    height: 4rem;
    /* 64px equivalent - compact for mobile */
  }

  body {
    padding-top: 75px;
    /* Adjust for smaller mobile logo */
  }

  .hero {
    background-attachment: scroll;
    /* Hero: fixed → scroll (mobile performance) */
    min-height: 100vh;
    /* Full viewport height for proper centering */
    display: flex;
    /* Make hero itself a flex container */
    align-items: center;
    /* Center the content wrapper vertically */
  }

  .hero-content-wrapper {
    padding-left: 1rem;
    /* Hero wrapper: 1.5rem → 1rem padding */
    padding-right: 1rem;
    width: 100%;
    /* Take full width */
    min-height: auto;
    /* Remove min-height, let parent handle it */
    display: block;
    /* Reset to block, let parent (.hero) handle centering */
    /* Remove all flexbox properties - parent will handle centering */
  }

  .hero-content {
    max-width: 100%;
    text-align: left;
    /* Removed all padding to ensure clean vertical centering */
  }

  .hero-title {
    font-size: clamp(2.25rem, 1.728rem + 1.63vw, 3rem);
    /* Hero title: responsive scaling */
    line-height: 1.3;
    margin: 0 0 1rem 0;
    /* Reset margins for perfect centering */
  }

  .hero-subtitle {
    font-size: 1rem;
    /* Hero subtitle: gets smaller */
    margin: 0 0 1.5rem 0;
    /* Reset margins for perfect centering */
  }

  /* Hero button: stays inline width on mobile for better UX */
  .hero .button {
    text-align: center;
    width: auto;
    /* Explicitly set to auto to override any inherited full-width */
    display: inline-block;
    /* Ensure inline behavior */
    margin: 0;
    /* Remove any inherited margins that could affect centering */
  }

  .about-content-wrapper {
    row-gap: 2rem;
    /* About: adds gap between stacked columns */
  }

  /* Reduce about section padding on mobile to match other sections */
  .about-text-column,
  .about-image-column {
    padding: 0;
    /* Remove extra padding on mobile - container handles spacing */
  }
}

/* Extra small mobile - 480px and below */
/* TRANSITION: Even smaller Instagram styling */
@media (max-width: 480px) {
  .instagram-section {
    padding: 2rem 0;
    /* Instagram: 3rem → 2rem padding */
  }

  .instagram-section .section-heading {
    font-size: 1.75rem;
    /* Instagram heading: 2rem → 1.75rem */
    margin-bottom: 1.5rem;
    /* Instagram margin: 2rem → 1.5rem */
    gap: 0.5rem;
  }

  .instagram-title-icon {
    width: 24px;
    /* Instagram icon: 28px → 24px */
    height: 24px;
  }

  .instagram-button-wrapper {
    margin-top: 1.5rem;
    /* Instagram button margin: 2rem → 1.5rem */
  }

  /* Instagram button gets smaller font */
  .instagram-section .button {
    font-size: 0.875rem;
  }
}

/* Mobile menu close button */
.mobile-menu-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.mobile-menu-close:hover {
  background-color: rgba(44, 80, 98, 0.1);
}

.mobile-menu-close span {
  font-size: 2rem;
  color: var(--clr-text);
  line-height: 1;
  transition: color 0.3s ease;
}

.mobile-menu-close:hover span {
  color: var(--clr-primary);
}

/* -------------------------------------------------------------------------- */
/* FOOTER - Professional multi-column layout                                 */
/* -------------------------------------------------------------------------- */
.footer {
  background-color: #2c5062;
  color: #ffffff;
  padding: 4rem 0 2rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  /* Mobile: stacked layout */
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

/* Footer column alignments */
.footer-links {
  text-align: center;
}

.footer-social {
  text-align: right;
}

/* Footer About Section */
.footer-heading {
  font-family: var(--font-family-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

.footer-text {
  font-family: var(--font-family-body);
  font-size: 1rem;
  line-height: 1.6;
  color: #e2e8f0;
  margin: 0;
}

/* Footer Links Section */
.footer-title {
  font-family: var(--font-family-body);
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 1rem 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li {
  margin-bottom: 0.75rem;
}

.footer-menu a {
  color: #e2e8f0;
  text-decoration: none;
  font-family: var(--font-family-body);
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-menu a:hover {
  color: #ffffff;
}

/* Footer Social Section */
.footer-social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: flex-end;
  /* Right-align the social icons */
}

.footer-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #e2e8f0;
  transition: all 0.3s ease;
}

.footer-social-icons a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

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

/* Footer Bottom */
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.footer-copyright p,
.footer-credits p {
  margin: 0;
  font-family: var(--font-family-body);
  font-size: 0.875rem;
  color: #cbd5e0;
}

/* Responsive Footer */
@media (max-width: 767.98px) {
  .footer-social-icons {
    justify-content: center;
    /* Center social icons on mobile */
  }

  .footer-social {
    text-align: center;
    /* Center the "Connect With Us" title on mobile */
  }
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 1fr 1fr;
    /* Three equal columns on tablet+ */
    gap: 3rem;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer-credits {
    text-align: right;
  }

  .footer-social-icons {
    justify-content: flex-end;
    /* Right-align social icons on tablet+ */
  }
}

@media (min-width: 1024px) {
  .footer {
    padding: 5rem 0 2rem 0;
  }

  .footer-content {
    gap: 4rem;
  }

  .footer-heading {
    font-size: 1.75rem;
  }
}

/* -------------------------------------------------------------------------- */
/* PAGE BANNER - Reusable banner for static pages                           */
/* -------------------------------------------------------------------------- */
.page-banner {
  padding: 3rem 0;
}

.page-banner h1 {
  line-height: 1;
  /* Tight line-height for perfect vertical centering */
  margin: 0;
  /* Remove default margins */
  font-size: 3rem;
  /* Fixed font size to ensure consistency between pages */
}

/* -------------------------------------------------------------------------- */
/* PROJECT HEADER - Project details section                                  */
/* -------------------------------------------------------------------------- */
.project-header {
  padding: 3rem 0;
}

.project-header-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.project-intro {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.project-description h2 {
  font-family: var(--font-family-heading);
  font-size: 2rem;
  color: var(--clr-primary);
  margin: 0 0 1rem 0;
}

.project-description p {
  font-family: var(--font-family-body);
  font-size: var(--font-base);
  line-height: 1.6;
  color: var(--clr-text-muted);
}

/* Project Meta - Horizontal layout on mobile */
.project-meta {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  padding: 2rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  gap: 0.5rem;
}

.meta-icon {
  width: 48px;
  height: 48px;
  background-color: var(--clr-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.meta-icon svg {
  width: 24px;
  height: 24px;
}

.meta-label {
  font-family: var(--font-family-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--clr-primary);
  margin: 0;
}

.meta-value {
  font-family: var(--font-family-body);
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  margin: 0;
}

.project-featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.project-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive Project Header */
@media (min-width: 768px) {
  .project-header-content {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }

  .meta-item {
    align-items: flex-start;
    text-align: left;
  }

  .meta-icon {
    margin-bottom: 0.75rem;
  }

  .meta-label {
    font-size: 0.875rem;
  }

  .meta-value {
    font-size: 1rem;
  }
}

/* -------------------------------------------------------------------------- */
/* EXPANDABLE GALLERIES - Mobile First Design                                */
/* -------------------------------------------------------------------------- */

/* Gallery Toggle Button */
.gallery-toggle {
  margin-top: 1rem;
  width: 100%;
  justify-content: center;
  gap: 0.5rem;
}

/* Active state for gallery toggle button - matches hover state */
.gallery-toggle.gallery-active {
  background-color: var(--clr-primary);
  color: var(--clr-text-inverse);
}

.gallery-toggle svg {
  flex-shrink: 0;
}

/* Service Gallery Container - Now full-width sections */
.service-gallery {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.3s ease-out;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Full-width gallery spacing and layout improvements */
.services-content-wrapper .service-gallery {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* Enhanced animation for full-width galleries */
.service-gallery.show {
  display: block;
  animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------------------------------------------------------------------------- */
/* Service Gallery Container - Now full-width sections */
.service-gallery {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.3s ease-out;
}

/* Gallery Header */
.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.gallery-header h4 {
  font-family: var(--font-family-heading);
  font-size: 1.25rem;
  color: var(--clr-primary);
  margin: 0;
}

.gallery-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.gallery-close:hover {
  background-color: rgba(44, 80, 98, 0.1);
}

.gallery-close span {
  font-size: 1.5rem;
  color: var(--clr-text);
  line-height: 1;
}

/* Gallery Grid - Mobile First */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  /* Mobile: 1 column */
  gap: 1rem;
  padding: 1.5rem 2rem 2rem;
}

/* Gallery Items */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  /* Fixed height for consistency */
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Gallery Overlay */
.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem 1rem 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  font-family: var(--font-family-body);
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 500;
}

/* Responsive Gallery Grid */
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    /* Tablet: 2 columns */
    gap: 1.5rem;
  }

  .gallery-item img {
    height: 200px;
    /* Shorter on tablet for better layout */
  }

  .gallery-toggle {
    width: auto;
    /* Inline button on tablet+ */
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    /* Desktop: 3 columns */
    gap: 2rem;
  }

  .gallery-item img {
    height: 220px;
    /* Optimal height for desktop */
  }
}

/* -------------------------------------------------------------------------- */
/* LIGHTBOX MODAL - Mobile First                                             */
/* -------------------------------------------------------------------------- */

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox.active {
  display: flex;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.lightbox-caption {
  color: white;
  text-align: center;
  margin-top: 1rem;
  font-family: var(--font-family-body);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 600px;
}

/* Lightbox Controls */
.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  backdrop-filter: blur(10px);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-close span {
  font-size: 1.5rem;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  font-size: 1.2rem;
  font-weight: bold;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}

/* Hide navigation on mobile if not enough space */
@media (max-width: 767px) {
  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
  }
}

/* Touch-friendly gallery items on mobile */
@media (max-width: 767px) {
  .gallery-item {
    min-height: 250px;
  }

  .gallery-overlay {
    padding: 1.5rem 1rem 1rem;
  }
}

/* Hide expandable galleries on mobile and tablet devices */
/* On touch devices, clicking "View Project Gallery" opens lightbox directly */
@media (max-width: 1024px) {
  .service-gallery {
    display: none !important;
  }
}

/* -------------------------------------------------------------------------- */
/* FULL GALLERY PAGE STYLES - Mobile First Design                           */
/* -------------------------------------------------------------------------- */

/* Breadcrumb Navigation */
.breadcrumb-section {
  padding: 1rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
}

.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--clr-primary);
  text-decoration: none;
  font-family: var(--font-family-body);
  font-size: var(--font-base);
  font-weight: 500;
  transition: color 0.3s ease;
}

.breadcrumb-link:hover {
  color: var(--clr-secondary);
}

.breadcrumb-link svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.breadcrumb-link:hover svg {
  transform: translateX(-2px);
}

/* Gallery Hero Section */
.gallery-hero {
  padding: 3rem 0;
}

.gallery-hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.gallery-title {
  font-family: var(--font-family-heading);
  font-size: var(--font-heading);
  /* Mobile-first responsive sizing */
  font-weight: 700;
  color: var(--clr-primary);
  margin: 0 0 1.5rem 0;
  line-height: 1.2;
}

.title-accent {
  color: var(--clr-accent);
}

.gallery-description {
  margin-top: 1.5rem;
}

.gallery-description p {
  margin: 0;
  text-align: center;
}

/* Full Gallery Section */
.full-gallery-section {
  padding: 3rem 0;
}

.gallery-grid-wrapper {
  margin-bottom: 3rem;
}

/* Full Gallery Grid - Mobile First */
.full-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  /* Mobile: 1 column */
  gap: 1.5rem;
}

/* Gallery Items */
.full-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
  box-shadow: var(--shadow);
}

.full-gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.full-gallery-item img {
  width: 100%;
  height: 300px;
  /* Consistent height for mobile */
  object-fit: cover;
  transition: transform 0.5s ease;
}

.full-gallery-item:hover img {
  transform: scale(1.1);
}

/* Gallery Overlay */
.full-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 60%, rgba(0, 0, 0, 0.8));
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.full-gallery-item:hover .full-gallery-overlay {
  opacity: 1;
}

.gallery-item-title {
  font-family: var(--font-family-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.full-gallery-item:hover .gallery-item-title {
  transform: translateY(0);
}

/* Gallery Call to Action */
.gallery-cta {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.gallery-cta .button-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

/* Responsive Gallery Grid */
@media (min-width: 768px) {
  .gallery-hero {
    padding: 4rem 0;
  }

  .gallery-title {
    font-size: 3.5rem;
    /* Larger on tablet */
  }

  .full-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    /* Tablet: 2 columns */
    gap: 2rem;
  }

  .full-gallery-item img {
    height: 350px;
    /* Taller on tablet */
  }

  .gallery-cta .button-wrapper {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .gallery-hero {
    padding: 5rem 0;
  }

  .gallery-title {
    font-size: 4rem;
    /* Largest on desktop */
  }

  .full-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    /* Desktop: 3 columns */
    gap: 2.5rem;
  }

  .full-gallery-item img {
    height: 400px;
    /* Full height on desktop */
  }

  .full-gallery-section {
    padding: 4rem 0;
  }
}

/* Large screens optimization */
@media (min-width: 1440px) {
  .full-gallery-grid {
    gap: 3rem;
  }
}

/* Touch optimization for mobile */
@media (max-width: 767px) {
  .full-gallery-item {
    min-height: 300px;
    /* Always show overlay on mobile for better UX */
  }

  .full-gallery-overlay {
    opacity: 1;
    background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.7));
  }

  .gallery-item-title {
    transform: translateY(0);
    /* Always visible on mobile */
    font-size: 1.125rem;
    /* Slightly smaller on mobile */
  }
}

/* Full Gallery Lightbox Modal - Enhanced Version */
.full-gallery-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.full-gallery-lightbox.active {
  display: flex;
  animation: fadeIn 0.3s ease-out;
}

.full-gallery-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.full-gallery-lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.full-gallery-lightbox-info {
  margin-top: 1rem;
  text-align: center;
  color: white;
}

.full-gallery-lightbox-title {
  font-family: var(--font-family-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.full-gallery-lightbox-counter {
  font-family: var(--font-family-body);
  font-size: 0.9rem;
  color: #cbd5e0;
  margin: 0;
}

/* Lightbox Controls */
.full-gallery-lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  backdrop-filter: blur(10px);
  font-size: 1.5rem;
  font-weight: 300;
}

.full-gallery-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.full-gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  font-size: 1.2rem;
  font-weight: bold;
}

.full-gallery-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.full-gallery-lightbox-prev {
  left: -70px;
}

.full-gallery-lightbox-next {
  right: -70px;
}

/* Mobile lightbox adjustments */
@media (max-width: 767px) {
  .full-gallery-lightbox-prev {
    left: 10px;
  }

  .full-gallery-lightbox-next {
    right: 10px;
  }

  .full-gallery-lightbox-close {
    top: 10px;
    right: 10px;
  }

  .full-gallery-lightbox-info {
    padding: 0 1rem;
  }

  .full-gallery-lightbox-title {
    font-size: 1.25rem;
  }
}

/* Navigation Dropdown Styles */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--clr-bg-light);
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--clr-text);
  text-decoration: none;
  font-size: var(--font-sm);
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.dropdown-menu a:hover,
.dropdown-menu .current-submenu a {
  background: var(--clr-primary);
  color: var(--clr-text-inverse);
  border-left-color: var(--clr-accent);
}

/* Mobile Dropdown Styles */
.mobile-dropdown .mobile-dropdown-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-dropdown-menu.active {
  max-height: 200px;
}

.mobile-dropdown .mobile-dropdown-menu .mobile-menu-link {
  display: block;
  padding: 0.5rem 1rem 0.5rem 2rem;
  color: var(--clr-text);
  font-size: 1.25rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
  margin: 0.75rem 0;
}

.mobile-dropdown .mobile-dropdown-menu .mobile-menu-link:hover {
  color: var(--clr-primary);
}

/* Mobile dropdown toggle indicator */
.mobile-dropdown-toggle::after {
  content: '▼';
  float: right;
  font-size: 1rem;
  transition: transform 0.3s ease;
  color: var(--clr-text);
}

.mobile-dropdown.active .mobile-dropdown-toggle::after {
  transform: rotate(180deg);
}

/* -----
--------------------------------------------------------------------- */
/* DROPDOWN MENU STYLING                                                      */
/* -------------------------------------------------------------------------- */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: var(--radius);
  min-width: 280px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--clr-text);
  text-decoration: none;
  font-family: var(--font-family-body);
  font-size: var(--font-base);
  font-weight: 500;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
  background-color: #f8fafc;
  color: var(--clr-primary);
  border-left-color: var(--clr-primary);
}

/* Mobile dropdown - hide on mobile, use mobile menu instead */
@media (max-width: 1024px) {
  .dropdown-menu {
    display: none;
  }
}

/* -------------------------------------------------------------------------- */
/* CARPENTRY PAGE STYLING                                                     */
/* -------------------------------------------------------------------------- */
.carpentry-content {
  padding: 4rem 0 2rem 0;
}

.carpentry-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.carpentry-intro p {
  font-size: var(--font-lg);
  line-height: 1.7;
  color: var(--clr-text);
  margin: 0;
}

.carpentry-gallery {
  padding: 2rem 0 4rem 0;
}

.carpentry-gallery h2 {
  margin-bottom: 3rem;
}

/* Enhanced Gallery Grid for Carpentry Page */
.carpentry-gallery .gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.carpentry-gallery .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.carpentry-gallery .gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.carpentry-gallery .gallery-item:hover img {
  transform: scale(1.05);
}

.carpentry-gallery .gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  color: white;
  padding: 2rem 1.5rem 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carpentry-gallery .gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.carpentry-gallery .gallery-caption {
  font-family: var(--font-family-body);
  font-size: var(--font-base);
  line-height: 1.4;
  font-weight: 600;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  color: #ffffff;
}

/* Responsive Gallery Grid */
@media (min-width: 768px) {
  .carpentry-gallery .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .carpentry-gallery .gallery-item img {
    height: 350px;
  }
}

@media (min-width: 1024px) {
  .carpentry-gallery .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }

  .carpentry-gallery .gallery-item img {
    height: 400px;
  }
}

@media (min-width: 1200px) {
  .carpentry-gallery .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* -------------------------------------------------------------------------- */
/* LIGHTBOX GALLERY STYLING                                                   */
/* -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 85vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
}

.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: -50px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  backdrop-filter: blur(10px);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: -80px;
}

.lightbox-next {
  right: -80px;
}

.lightbox-counter {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-family: var(--font-family-body);
  font-size: var(--font-base);
  background: rgba(0, 0, 0, 0.5);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
}

.lightbox-caption {
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-family: var(--font-family-body);
  font-size: var(--font-base);
  font-weight: 600;
  text-align: center;
  max-width: 90%;
  background: rgba(0, 0, 0, 0.7);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  line-height: 1.4;
}

/* Mobile lightbox adjustments */
@media (max-width: 768px) {
  .lightbox-content {
    max-width: 90vw;
    max-height: 80vh;
    margin: 3rem 0;
  }

  .lightbox-close {
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .lightbox-nav {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .lightbox-prev {
    left: 20px;
  }

  .lightbox-next {
    right: 20px;
  }

  .lightbox-counter {
    bottom: 20px;
    font-size: var(--font-sm);
  }

  .lightbox-caption {
    bottom: 60px;
    font-size: var(--font-sm);
    max-width: 95%;
    padding: 0.75rem 1rem;
  }
}

/* -------------------------------------------------------------------------- */
/* PROJECT PAGE STYLING - Sophisticated Layout for Project Pages             */
/* -------------------------------------------------------------------------- */

/* Project Header Section */
.project-header {
  padding: 4rem 0;
}

.project-header-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.project-intro {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Project Meta Information */
.project-meta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  background: #f8fafc;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--clr-primary);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
}

.meta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--clr-primary);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
}

.meta-icon:hover {
  background: var(--clr-secondary);
  transform: translateY(-2px);
}

.meta-icon svg {
  width: 24px;
  height: 24px;
}

.meta-label {
  font-family: var(--font-family-body);
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--clr-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.meta-value {
  font-family: var(--font-family-heading);
  font-size: var(--font-lg);
  font-weight: 700;
  color: var(--clr-text);
}

/* Project Description */
.project-description h2 {
  font-family: var(--font-family-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin: 0 0 1.5rem 0;
  line-height: 1.2;
}

.project-description p {
  font-size: var(--font-lg);
  line-height: 1.7;
  color: var(--clr-text);
  margin: 0;
}

/* Project Featured Image */
.project-featured-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.project-featured-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.project-featured-image:hover img {
  transform: scale(1.02);
}

.project-content p {
  font-size: var(--font-lg);
  line-height: 1.7;
  color: var(--clr-text);
  margin: 0;
}

/* Project Showcase - Unique Gallery Style */
.project-showcase {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
}

.project-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--clr-primary);
  border-radius: var(--radius-pill);
}

.showcase-header {
  text-align: center;
  margin-bottom: 4rem;
}

.showcase-header h2 {
  font-family: var(--font-family-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.showcase-header p {
  font-size: var(--font-lg);
  color: var(--clr-text-muted);
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Masonry-style Grid */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  grid-auto-rows: auto;
}

.showcase-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  cursor: pointer;
}

.showcase-item:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.showcase-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.showcase-item:hover img {
  transform: scale(1.1);
}

/* Special Grid Items */
.showcase-large img {
  height: 350px;
}

.showcase-wide img {
  height: 320px;
}

/* Showcase Content */
.showcase-content {
  padding: 2rem;
  background: #fff;
}

.showcase-content h3 {
  font-family: var(--font-family-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
}

.showcase-content p {
  font-size: var(--font-base);
  line-height: 1.5;
  color: var(--clr-text-muted);
  margin: 0;
}

/* Project Testimonial */
.project-testimonial {
  padding: 5rem 0;
}

.testimonial-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-header {
  margin-bottom: 3rem;
}

.testimonial-header h2 {
  font-family: var(--font-family-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.testimonial-header .stars {
  font-size: 2rem;
  color: var(--clr-accent);
  letter-spacing: 0.2em;
}

.testimonial-quote {
  margin: 0 0 2rem 0;
  position: relative;
}

.testimonial-quote p {
  font-family: var(--font-family-body);
  font-size: var(--font-lg);
  line-height: 1.7;
  color: var(--clr-text-inverse);
  margin: 0;
  font-style: italic;
  position: relative;
  padding: 0 2rem;
}

.project-testimonial .testimonial-quote::before {
  content: '"';
  font-family: var(--font-family-heading);
  font-size: 4rem;
  color: var(--clr-accent);
  position: absolute;
  top: -1rem;
  left: 0;
  line-height: 1;
}

.project-testimonial .testimonial-quote::after {
  content: '"';
  font-family: var(--font-family-heading);
  font-size: 4rem;
  color: var(--clr-accent);
  position: absolute;
  bottom: -2rem;
  right: 0;
  line-height: 1;
}

.testimonial-author {
  font-family: var(--font-family-body);
  font-size: var(--font-base);
  color: var(--clr-text-inverse);
  font-style: normal;
}

.testimonial-author strong {
  font-weight: 700;
  font-size: var(--font-lg);
  display: block;
  margin-bottom: 0.5rem;
}

.testimonial-author span {
  opacity: 0.8;
}

/* Project CTA */
.project-cta {
  padding: 4rem 0;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.cta-content h2 {
  font-family: var(--font-family-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.cta-content p {
  font-size: var(--font-lg);
  line-height: 1.6;
  color: var(--clr-text);
  margin: 0 0 2rem 0;
}

/* Project Meta - Horizontal layout on mobile */
.project-meta {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  padding: 2rem 1rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  gap: 0.5rem;
}

.meta-icon {
  width: 48px;
  height: 48px;
  background-color: var(--clr-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.meta-icon svg {
  width: 24px;
  height: 24px;
}

.meta-label {
  font-family: var(--font-family-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--clr-primary);
  margin: 0;
}

.meta-value {
  font-family: var(--font-family-body);
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  margin: 0;
}

/* Responsive Project Page */
@media (min-width: 768px) {
  .project-meta {
    flex-direction: row;
    gap: 2rem;
    padding: 2rem;
  }

  .meta-item {
    flex: 1;
    text-align: center;
  }
  
  .meta-label {
    font-size: 0.875rem;
  }

  .meta-value {
    font-size: 1rem;
  }

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

  .showcase-large {
    grid-column: span 2;
  }

  .testimonial-quote p {
    font-size: var(--font-xl);
  }
}

@media (min-width: 1024px) {
  .project-header-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }

  .project-featured-image img {
    height: 500px;
  }

  .project-description h2 {
    font-size: 2.75rem;
  }

  .showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }

  .showcase-column-left,
  .showcase-column-right {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }

  .showcase-bottom-row,
  .showcase-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .showcase-large img {
    height: 400px;
  }

  .testimonial-header h2 {
    font-size: 3rem;
  }

  .cta-content h2 {
    font-size: 2.5rem;
  }
}

@media (min-width: 1200px) {
  .project-gallery .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3.5rem;
  }
}

/* ----
---------------------------------------------------------------------- */
/* SECTION DIVIDER - Elegant transition between sections                     */
/* -------------------------------------------------------------------------- */
.section-with-divider {
  position: relative;
}

.section-with-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--clr-primary);
  border-radius: var(--radius-pill);
}/* ----
---------------------------------------------------------------------- */
/* CONTACT PAGE STYLING - Clean and Professional                             */
/* -------------------------------------------------------------------------- */

.contact-section {
  padding: 4rem 0;
}

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-intro h2 {
  font-family: var(--font-family-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin: 0 0 1.5rem 0;
  line-height: 1.2;
}

.contact-intro p {
  font-size: var(--font-lg);
  color: var(--clr-text-muted);
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Contact Form */
.contact-form-wrapper {
  background: #fff;
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-family-body);
  font-size: var(--font-base);
  font-weight: 600;
  color: var(--clr-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius);
  font-family: var(--font-family-body);
  font-size: var(--font-base);
  color: var(--clr-text);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(44, 80, 98, 0.1);
}

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

.form-submit {
  margin-top: 1rem;
  align-self: flex-start;
}

/* Map Section */
.contact-map-wrapper {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.map-container {
  position: relative;
  width: 100%;
  height: 600px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive Contact Layout */
@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .contact-intro h2 {
    font-size: 3rem;
  }

  .map-container {
    height: 600px;
  }
}

@media (min-width: 1200px) {
  .contact-layout {
    gap: 3.5rem;
  }
}

/* Mobile Adjustments */
@media (max-width: 767px) {
  .contact-form-wrapper {
    padding: 2rem;
  }

  .contact-intro h2 {
    font-size: 2rem;
  }

  .map-container {
    height: 300px;
  }
}/* -
------------------------------------------------------------------------- */
/* PRIVACY POLICY PAGE STYLING                                               */
/* -------------------------------------------------------------------------- */

.privacy-policy-section {
  padding: 4rem 0;
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content h2 {
  font-family: var(--font-family-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin: 2rem 0 1rem 0;
  line-height: 1.3;
}

.privacy-content p {
  font-size: var(--font-base);
  line-height: 1.7;
  color: var(--clr-text);
  margin: 0 0 1rem 0;
}



@media (max-width: 767px) {
  .privacy-content {
    padding: 0 1rem;
  }
  
  .privacy-content h2 {
    font-size: 1.25rem;
  }
}/* --------
------------------------------------------------------------------ */
/* THANK YOU PAGE STYLING                                                     */
/* -------------------------------------------------------------------------- */

.thank-you-section {
  padding: 5rem 0;
}

.thank-you-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.thank-you-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.thank-you-icon svg {
  color: var(--clr-primary);
  width: 80px;
  height: 80px;
}

.thank-you-content h2 {
  font-family: var(--font-family-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin: 0 0 1.5rem 0;
  line-height: 1.2;
}

.thank-you-content p {
  font-size: var(--font-lg);
  line-height: 1.6;
  color: var(--clr-text);
  margin: 0 0 1rem 0;
}

.thank-you-content .button-wrapper {
  margin-top: 3rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .thank-you-content h2 {
    font-size: 2rem;
  }
  
  .thank-you-content .button-wrapper {
    flex-direction: column;
    align-items: center;
  }
}