/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Albert+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Custom CSS Variables for Colors and Fonts */
:root {
  /* Custom Colors */
  --color-brand-dark: #1A1C5D;
  --color-brand-light: #68ADFF;
  
  /* Font Families */
  --font-poppins: 'Poppins', sans-serif;
  --font-albert-sans: 'Albert Sans', sans-serif;
}

/* Custom Color Classes */
.text-brand-dark {
  color: var(--color-brand-dark);
}

.text-brand-light {
  color: var(--color-brand-light);
}

.bg-brand-dark {
  background-color: var(--color-brand-dark);
}

.bg-brand-light {
  background-color: var(--color-brand-light);
}

.border-brand-dark {
  border-color: var(--color-brand-dark);
}

.border-brand-light {
  border-color: var(--color-brand-light);
}

/* Font Family Classes */
.font-poppins {
  font-family: var(--font-poppins);
}

.font-albert-sans {
  font-family: var(--font-albert-sans);
}

/* Embla Carousel Styles */
.embla {
  position: relative;
  overflow: hidden;
}

.embla__viewport {
  overflow: hidden;
}

.embla__container {
  display: flex;
}

.embla__dots {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 0.5rem;
}

.embla__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #d1d5db;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.embla__dot--selected {
  background-color: var(--color-brand-dark);
}

.embla__dot:hover {
  background-color: var(--color-brand-light);
}

/* CSS Mask for Carousel Fade Effect */
.carousel-mask {
  -webkit-mask: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 95%,
    transparent 100%
  );
  mask: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 95%,
    transparent 100%
  );
}

/* Alternative mask for better browser support */
@supports not (mask: linear-gradient(to right, black, black)) {
  .carousel-mask {
    position: relative;
  }
  
  .carousel-mask::before,
  .carousel-mask::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    z-index: 10;
    pointer-events: none;
  }
  
  .carousel-mask::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
  }
  
  .carousel-mask::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
  }
}

/* Hero Title Text Shadow */
.hero-title-shadow {
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.1),
    0 4px 8px rgba(0, 0, 0, 0.08),
    0 8px 16px rgba(0, 0, 0, 0.06);
}

/* Enhanced shadows for colored text */
.hero-title-shadow .text-brand-light {
  text-shadow: 
    0 2px 4px rgba(104, 173, 255, 0.3),
    0 4px 8px rgba(0, 0, 0, 0.1),
    0 8px 16px rgba(0, 0, 0, 0.08);
}

.hero-title-shadow .text-brand-dark {
  text-shadow: 
    0 2px 4px rgba(26, 28, 93, 0.3),
    0 4px 8px rgba(0, 0, 0, 0.1),
    0 8px 16px rgba(0, 0, 0, 0.08);
}

@media (max-width: 1024px) {
  .contact-image {
    width: 70%;
  }
}

@media (min-width: 600px) {
  .contact-image {
    width: 75%;
  }
}

/* Basic Image Protection */
img {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  pointer-events: none;
}

/* Allow pointer events for clickable elements */
a img, button img, .clickable img {
  pointer-events: auto;
}

/* Disable right-click context menu */
.no-context-menu {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}