/* ===================================
   CUSTOM BRICKS ELEMENTS STYLES
   =================================== */

/* Header Sticky Element */
.brxe-header-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #000000;
  color: #FFFFFF;
  height: 70px;
  transition: all 0.3s ease;
}

.brxe-header-sticky.header-shrink {
  height: 50px;
}

.brxe-header-sticky .header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 40px;
}

.brxe-header-sticky .header-navigation {
  flex: 1;
}

.brxe-header-sticky .header-navigation.header-left {
  display: flex;
  justify-content: flex-start;
}

.brxe-header-sticky .header-navigation.header-right {
  display: flex;
  justify-content: flex-end;
}

.brxe-header-sticky .header-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.brxe-header-sticky .header-menu-item {
  margin: 0;
}

.brxe-header-sticky .header-menu-item a,
.brxe-header-sticky .header-menu-item span {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: opacity 0.3s ease;
}

.brxe-header-sticky .header-menu-item a:hover {
  opacity: 0.7;
}

.brxe-header-sticky .header-center {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.brxe-header-sticky .header-line {
  width: 200px;
  height: 1px;
  background-color: #E6E6E6;
}

.brxe-header-sticky .header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brxe-header-sticky .header-logo img {
  height: 40px;
  width: auto;
}

.brxe-header-sticky .header-logo-text {
  text-align: center;
}

.brxe-header-sticky .logo-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.brxe-header-sticky .logo-subtitle {
  font-size: 0.7rem;
  font-weight: 400;
  margin: 0;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

/* Shrink effect */
.brxe-header-sticky.header-shrink .header-logo img {
  height: 30px;
}

.brxe-header-sticky.header-shrink .logo-title {
  font-size: 1rem;
}

.brxe-header-sticky.header-shrink .logo-subtitle {
  font-size: 0.6rem;
}

/* Hero Section Element */
.brxe-hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brxe-hero-section .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.brxe-hero-section .hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brxe-hero-section .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.brxe-hero-section .hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.brxe-hero-section .hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.brxe-hero-section .hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.brxe-hero-section .hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0;
  opacity: 0.9;
}

.brxe-hero-section .hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  opacity: 0.8;
}

.brxe-hero-section .hero-cta {
  margin-top: 30px;
}

.brxe-hero-section .hero-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.brxe-hero-section .hero-button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* Section Centered Element */
.brxe-section-centered {
  text-align: center;
}

.brxe-section-centered .section-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.brxe-section-centered .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 20px 0;
  line-height: 1.2;
}

.brxe-section-centered .section-subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  margin: 0 0 30px 0;
  opacity: 0.8;
}

.brxe-section-centered .section-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.brxe-section-centered .section-image {
  max-width: 100%;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

.brxe-section-centered .section-image img {
  width: 100%;
  height: auto;
  display: block;
}

.brxe-section-centered .section-text {
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0;
}

.brxe-section-centered .section-cta {
  margin-top: 30px;
}

.brxe-section-centered .section-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: all 0.3s ease;
}

.brxe-section-centered .section-button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* Carousel Bicolor Element */
.brxe-carousel-bicolor {
  position: relative;
  overflow: hidden;
}

.brxe-carousel-bicolor .carousel-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.brxe-carousel-bicolor .carousel-top {
  flex: 1;
  background-color: #F5F5DC;
}

.brxe-carousel-bicolor .carousel-bottom {
  flex: 1;
  background-color: #2F2F2F;
}

.brxe-carousel-bicolor .carousel-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px 20px;
}

.brxe-carousel-bicolor .carousel-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 40px 0;
  text-align: center;
  color: white;
}

.brxe-carousel-bicolor .carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
}

.brxe-carousel-bicolor .carousel-slides {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  gap: 0;
}

.brxe-carousel-bicolor .carousel-slide {
  position: relative;
  min-width: 300px;
  height: 350px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: all 0.5s ease;
  transform: scale(0.9);
  opacity: 0.7;
  margin-left: -50px;
}

.brxe-carousel-bicolor .carousel-slide:first-child {
  margin-left: 0;
}

.brxe-carousel-bicolor .carousel-slide.active {
  transform: scale(1);
  opacity: 1;
  z-index: 10;
}

.brxe-carousel-bicolor .carousel-slide:hover {
  transform: scale(1.05);
  z-index: 15;
}

.brxe-carousel-bicolor .slide-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

.brxe-carousel-bicolor .carousel-slide:hover .slide-image img {
  transform: scale(1.1);
}

.brxe-carousel-bicolor .slide-content {
  padding: 20px;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.brxe-carousel-bicolor .slide-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 10px 0;
  color: #333;
}

.brxe-carousel-bicolor .slide-description {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0 0 15px 0;
  color: #666;
  flex-grow: 1;
}

.brxe-carousel-bicolor .slide-link {
  display: inline-block;
  padding: 8px 16px;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.brxe-carousel-bicolor .slide-link:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.brxe-carousel-bicolor .carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: #333;
  font-size: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 20;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.brxe-carousel-bicolor .carousel-arrow:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.brxe-carousel-bicolor .carousel-prev {
  left: 20px;
}

.brxe-carousel-bicolor .carousel-next {
  right: 20px;
}

.brxe-carousel-bicolor .carousel-dots {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.brxe-carousel-bicolor .carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.brxe-carousel-bicolor .carousel-dot.active {
  background: white;
  transform: scale(1.2);
}

/* Section Three Columns Element */
.brxe-section-three-columns .section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.brxe-section-three-columns .section-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.brxe-section-three-columns .section-left {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 15px;
}

.brxe-section-three-columns .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  color: white;
}

.brxe-section-three-columns .section-arrow {
  font-size: 2rem;
  font-weight: 400;
  color: white;
  margin-top: 5px;
}

.brxe-section-three-columns .section-center {
  flex: 1;
  max-width: 600px;
}

.brxe-section-three-columns .section-description {
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0;
  color: white;
  text-align: left;
}

.brxe-section-three-columns .section-right {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
}

.brxe-section-three-columns .section-button {
  display: inline-block;
  padding: 12px 24px;
  background: black;
  color: white;
  text-decoration: none;
  border: 2px solid white;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.brxe-section-three-columns .section-button:hover {
  background: white;
  color: black;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* Layout variations */
.brxe-section-three-columns.layout-right-to-left .columns-wrapper {
  direction: rtl;
}

.brxe-section-three-columns.layout-right-to-left .column {
  direction: ltr;
}

/* Banner Icon Text Element */
.brxe-banner-icon-text {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.brxe-banner-icon-text:hover {
  transform: translateY(-2px);
}

.brxe-banner-icon-text .banner-content {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.brxe-banner-icon-text .banner-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brxe-banner-icon-text .banner-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.brxe-banner-icon-text:hover .banner-icon img {
  transform: scale(1.1);
}

.brxe-banner-icon-text .banner-text {
  flex-grow: 1;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.4;
}

.brxe-banner-icon-text .banner-link {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
}

/* Footer Element */
.brxe-footer {
  background-color: #F5F5DC;
  color: #000000;
}

.brxe-footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.brxe-footer .footer-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.brxe-footer .footer-logo {
  flex-shrink: 0;
}

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

.brxe-footer .footer-line {
  flex: 1;
  height: 1px;
  background-color: #000000;
}

.brxe-footer .footer-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

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

.brxe-footer .footer-column-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: #000000;
}

.brxe-footer .footer-column-content {
  font-size: 1rem;
  line-height: 1.5;
  color: #000000;
}

.brxe-footer .footer-phone {
  color: #000000;
  text-decoration: underline;
  font-weight: 500;
}

.brxe-footer .footer-phone:hover {
  opacity: 0.7;
}

.brxe-footer .footer-social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.brxe-footer .footer-social-icon {
  display: inline-block;
  font-size: 1.2rem;
  color: #000000;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.brxe-footer .footer-social-icon:hover {
  opacity: 0.7;
}

.brxe-footer .footer-bottom {
  text-align: center;
}

.brxe-footer .footer-brand-name {
  font-size: 4rem;
  font-weight: 700;
  font-family: serif;
  margin: 0 0 20px 0;
  color: #000000;
  line-height: 1.2;
}

.brxe-footer .footer-credits {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  font-size: 0.9rem;
  color: #000000;
}

.brxe-footer .footer-credit {
  flex: 1;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Header */
  .brxe-header-sticky .header-container {
    flex-direction: column;
    padding: 10px 20px;
    height: auto;
    min-height: 70px;
  }

  .brxe-header-sticky .header-center {
    order: 1;
    margin: 10px 0;
  }

  .brxe-header-sticky .header-line {
    width: 100px;
  }

  .brxe-header-sticky .header-navigation {
    order: 2;
    width: 100%;
  }

  .brxe-header-sticky .header-navigation.header-left {
    justify-content: center;
    margin-bottom: 10px;
  }

  .brxe-header-sticky .header-navigation.header-right {
    justify-content: center;
  }

  .brxe-header-sticky .header-menu {
    gap: 20px;
  }

  .brxe-header-sticky .header-line {
    max-width: 100px;
    margin: 0 10px;
  }

  .brxe-header-sticky .logo-title {
    font-size: 1.5rem;
  }

  .brxe-header-sticky .logo-subtitle {
    font-size: 0.8rem;
  }

  /* Hero Section */
  .brxe-hero-section .hero-title {
    font-size: 2.5rem;
  }

  .brxe-hero-section .hero-subtitle {
    font-size: 1.2rem;
  }

  /* Carousel */
  .brxe-carousel-bicolor .carousel-slide {
    flex-direction: column;
    text-align: center;
  }

  .brxe-carousel-bicolor .slide-image {
    max-width: 100%;
  }

  /* Three Columns */
  .brxe-section-three-columns .section-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .brxe-section-three-columns .section-left {
    justify-content: center;
  }

  .brxe-section-three-columns .section-center {
    max-width: 100%;
  }

  .brxe-section-three-columns .section-description {
    text-align: center;
  }

  .brxe-section-three-columns .section-right {
    justify-content: center;
  }

  /* Footer */
  .brxe-footer .footer-info {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .brxe-footer .footer-brand-name {
    font-size: 3rem;
  }

  .brxe-footer .footer-credits {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  /* Header Sticky */
  .brxe-header-sticky .header-container {
    padding: 0 15px;
  }

  .brxe-header-sticky .header-menu {
    gap: 15px;
  }

  .brxe-header-sticky .header-menu-item a,
  .brxe-header-sticky .header-menu-item span {
    font-size: 0.85rem;
  }

  .brxe-header-sticky .logo-title {
    font-size: 1.3rem;
  }

  .brxe-header-sticky .logo-subtitle {
    font-size: 0.7rem;
  }

  /* Hero Section */
  .brxe-hero-section .hero-title {
    font-size: 2rem;
  }

  .brxe-hero-section .hero-subtitle {
    font-size: 1rem;
  }

  /* Section Centered */
  .brxe-section-centered .section-title {
    font-size: 2rem;
  }

  /* Carousel */
  .brxe-carousel-bicolor .carousel-title {
    font-size: 2rem;
  }

  .brxe-carousel-bicolor .slide-title {
    font-size: 1.5rem;
  }

  /* Three Columns */
  .brxe-section-three-columns .section-title {
    font-size: 2rem;
  }

  /* Banner */
  .brxe-banner-icon-text .banner-content {
    flex-direction: column;
    gap: 15px;
  }

  .brxe-banner-icon-text .banner-text {
    font-size: 1rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .brxe-header-sticky,
  .brxe-hero-section .hero-button,
  .brxe-section-centered .section-button,
  .brxe-section-three-columns .column,
  .brxe-banner-icon-text,
  .brxe-footer .social-link {
    transition: none;
  }

  .brxe-carousel-bicolor .carousel-slide {
    transition: opacity 0.3s ease;
  }
}

@media (prefers-contrast: high) {
  .brxe-header-sticky {
    border-bottom: 2px solid var(--text-dark);
  }

  .brxe-hero-section .hero-overlay {
    background: rgba(0, 0, 0, 0.6);
  }

  .brxe-section-three-columns .column {
    border: 2px solid var(--border-color);
  }

  .brxe-banner-icon-text {
    border: 2px solid currentColor;
  }
}
