/* Copyright (c) 2025 Martin Bechard martin.bechard@DevConsult.ca */
/* This software is licensed under the MIT License. */
/* File path: /Users/martinbechard/dev/choco/common-custom.css */
/* This was generated by Gemini 2 with the assistance of my human mentor */
/* Common custom styles for La Chocolaterie website */
/* Life is like chocolate - it should be savored, not rushed! */

/* Language Switcher Container Styles */
#language-switcher-container {
  position: fixed;
  top: 5px;
  right: 5px;
  z-index: 1000;
}

/* Language Switcher Styles */
.language-switcher {
  position: relative;
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  @apply text-small-all-sizes;
  cursor: pointer;
  user-select: none;
  z-index: 100;
}

.language-switcher-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px;
  border-radius: 4px;
  background-color: white;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

.language-switcher-toggle:hover {
  background-color: #f9fafb;
}

.language-flag {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
}

.chevron-icon {
  transition: transform 0.2s ease;
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 160px;
  margin-top: 4px;
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 101;
}

.language-switcher.open .language-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-switcher.open .chevron-icon {
  transform: rotate(180deg);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  transition: background-color 0.2s ease;
  @apply text-small-all-sizes;
  font-weight: 300; /* font-thin equivalent */
}

.language-option:hover {
  background-color: #f9fafb;
}

.language-option:first-child {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.language-option:last-child {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

/* Navigation Menu Styles */
.nav-menu a {
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #8b4513;
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: #8b4513;
}

.nav-menu a:hover::after {
  width: 100%;
}

.call-us-btn {
  text-decoration: none;
  transition: transform 0.2s ease;
}

.call-us-btn:hover {
  transform: scale(1.05);
}

.call-us-btn:active {
  transform: scale(0.95);
}

/* Footer Styles */
#colophon {
  background-color: #1a1508; /* Very dark brown, almost black */
  color: #ffffff;
  padding: 3rem 0 0 0; /* Remove bottom padding */
  margin-top: 2rem;
  width: 100%;
  font-family: "Poppins", sans-serif;
  @apply text-body-all-sizes;
  font-weight: normal; /* Ensure all text is not bold by default */
}

.footer-width-fixer {
  width: 100%;
  margin: 0 auto;
}

.elementor-section {
  position: relative;
  width: 100%;
}

.elementor-container {
  display: flex;
  margin-right: auto;
  margin-left: auto;
  position: relative;
}

.elementor-column {
  position: relative;
  min-height: 1px;
  display: flex;
}

.elementor-col-100 {
  width: 100%;
}

.elementor-col-25 {
  width: 25%;
}

.elementor-widget-wrap {
  position: relative;
  width: 100%;
  flex-wrap: wrap;
  align-content: flex-start;
  display: flex;
  padding: 20px;
}

.elementor-element {
  width: 100%;
  margin-bottom: 20px;
}

.elementor-heading-title {
  margin: 0;
  padding: 0;
  line-height: 1;
  color: #b8a369; /* Gold/tan color for headings */
  font-weight: 500; /* Semi-bold instead of bold */
  text-transform: uppercase;
  @apply text-h4-all-sizes;
}

.elementor-size-default {
  margin-bottom: 1.5rem;
}

.elementor-icon-list-items {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.elementor-icon-list-item {
  margin-bottom: 8px; /* Reduced spacing between items */
  color: rgba(255, 255, 255, 0.7); /* Lighter color for better contrast */
  font-weight: 300; /* Lighter font weight */
  @apply text-small-all-sizes;
  line-height: 1.4; /* Better line spacing */
}

.elementor-icon-list-item a {
  color: rgba(255, 255, 255, 0.7); /* Match the text color */
  text-decoration: none;
  font-weight: 300; /* Lighter font weight */
  @apply text-small-all-sizes;
}

.elementor-icon-list-item a:hover {
  text-decoration: underline;
  color: rgba(255, 255, 255, 0.9); /* Slightly brighter on hover */
}

.social-icons-wrapper {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(0.9);
}

.social-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-section h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 500; /* Semi-bold instead of bold */
}

.reach-out-text {
  text-align: center;
  margin-top: 1rem;
  @apply text-body-all-sizes;
  font-weight: normal; /* Normal weight */
  color: #b8a369; /* Gold/tan color */
}

/* Copyright Section - Ensure it's centered */
.copyright-section {
  width: 100%;
  margin: 2rem 0 0 0;
  padding: 1.5rem 0;
  background-color: #1a1508; /* Match the footer background */
  color: rgba(255, 255, 255, 0.7); /* Lighter color to match contact info */
  @apply text-small-all-sizes;
  font-weight: 300; /* Lighter font weight */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.copyright-section p {
  margin: 0;
  padding: 0;
  text-align: center;
}

.copyright-section a {
  color: rgba(255, 255, 255, 0.7); /* Match the text color */
  text-decoration: none;
  font-weight: 300; /* Lighter font weight */
}

.copyright-section a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .elementor-container {
    flex-direction: column;
  }

  .elementor-col-25 {
    width: 100%;
    margin-bottom: 20px;
  }
}
