/*
  ========================================
  CSS Variables
  ========================================
*/
:root {
  /* Split-Complementary Color Scheme */
  --primary-color: #0d47a1; /* Deep Blue */
  --accent-color-1: #FFAB00; /* Amber/Gold */
  --accent-color-2: #E65100; /* Deep Orange - for highlights/buttons */
  --background-color: #E0E5EC;
  --text-color: #363636;
  --text-color-light: #555;
  --white-color: #FFFFFF;
  --light-shadow: #ffffff;
  --dark-shadow-color: #a3b1c6;
  --dark-color: #222222;

  /* Typography */
  --font-family-headings: 'Manrope', sans-serif;
  --font-family-body: 'Rubik', sans-serif;

  /* Neumorphism Shadows */
  --neumorphic-shadow-outset: 8px 8px 16px var(--dark-shadow-color), -8px -8px 16px var(--light-shadow);
  --neumorphic-shadow-inset: inset 8px 8px 16px var(--dark-shadow-color), inset -8px -8px 16px var(--light-shadow);
  --neumorphic-shadow-outset-sm: 4px 4px 8px var(--dark-shadow-color), -4px -4px 8px var(--light-shadow);
  --neumorphic-shadow-inset-sm: inset 4px 4px 8px var(--dark-shadow-color), inset -4px -4px 8px var(--light-shadow);
  
  /* Transitions & Animations */
  --transition-speed-fast: 0.3s;
  --transition-speed-normal: 0.5s;
  --elastic-easing: cubic-bezier(0.68, -0.55, 0.27, 1.55);

  /* Border Radius */
  --border-radius-sm: 8px;
  --border-radius-md: 15px;
  --border-radius-lg: 25px;
}

/*
  ========================================
  Global Styles
  ========================================
*/
html {
  scroll-behavior: smooth;
  background-color: var(--background-color);
}

body {
  font-family: var(--font-family-body);
  color: var(--text-color);
  background-color: var(--background-color);
  overflow-x: hidden;
}

/*
  ========================================
  Typography
  ========================================
*/
h1, h2, h3, h4, h5, h6, .title, .subtitle {
  font-family: var(--font-family-headings);
  color: var(--dark-color);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.title.is-1, .title.is-2 {
    font-weight: 800;
}

p, .content {
  color: var(--text-color-light);
  line-height: 1.7;
}

a {
  color: var(--primary-color);
  transition: color var(--transition-speed-fast) ease-in-out;
}

a:hover {
  color: var(--accent-color-2);
}

/*
  ========================================
  Layout & Sections
  ========================================
*/
.section {
    padding: 4rem 1.5rem;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
}

/* Specific Page Padding */
.static-page-content {
    padding-top: 100px;
}

#success-page {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
    text-align: center;
}

/*
  ========================================
  Header & Navigation
  ========================================
*/
.navbar.is-fixed-top {
  background-color: rgba(224, 229, 236, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.navbar-item, .navbar-link {
  font-family: var(--font-family-body);
  font-weight: 500;
  transition: all var(--transition-speed-fast) var(--elastic-easing);
}

.navbar-item:hover, .navbar-link:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

.navbar-brand .navbar-item {
  font-family: var(--font-family-headings);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.navbar-dropdown {
    border-radius: 0 0 var(--border-radius-sm) var(--border-radius-sm);
    border-top: 3px solid var(--primary-color);
}

@media screen and (max-width: 1023px) {
    .navbar-menu {
        background-color: var(--background-color);
        box-shadow: var(--neumorphic-shadow-outset);
        border-radius: var(--border-radius-md);
    }
}

/*
  ========================================
  Hero Section
  ========================================
*/
#hero {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

#hero .title, #hero .subtitle {
  color: var(--white-color);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

/*
  ========================================
  Global Components
  ========================================
*/

/* Buttons */
.button.is-primary {
  background-color: var(--primary-color);
  border: none;
  border-radius: var(--border-radius-md);
  box-shadow: var(--neumorphic-shadow-outset-sm);
  transition: all var(--transition-speed-fast) var(--elastic-easing);
  font-weight: bold;
}

.button.is-primary:hover {
  background-color: var(--accent-color-1);
  color: var(--dark-color);
  transform: translateY(-3px);
  box-shadow: 10px 10px 20px var(--dark-shadow-color), -10px -10px 20px var(--light-shadow);
}

.button.is-primary:active {
  box-shadow: var(--neumorphic-shadow-inset-sm);
  transform: translateY(1px);
}

/* Cards */
.card.neumorphic-card, .box.neumorphic-box {
  background-color: var(--background-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--neumorphic-shadow-outset);
  transition: all var(--transition-speed-normal) var(--elastic-easing);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card.neumorphic-card:hover {
  transform: scale(1.03);
  box-shadow: 12px 12px 24px var(--dark-shadow-color), -12px -12px 24px var(--light-shadow);
}

.card .card-image img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.card .card-content {
    flex-grow: 1;
}

/* Forms */
.input.neumorphic-input, .textarea.neumorphic-input, .select.is-fullwidth select.neumorphic-input {
  background-color: var(--background-color);
  border: none;
  border-radius: var(--border-radius-md);
  box-shadow: var(--neumorphic-shadow-inset);
  color: var(--text-color);
  transition: all var(--transition-speed-fast) ease;
}

.input.neumorphic-input::placeholder, .textarea.neumorphic-input::placeholder {
  color: #999;
}

.input.neumorphic-input:focus, .textarea.neumorphic-input:focus, .select.is-fullwidth select.neumorphic-input:focus {
  outline: none;
  box-shadow: var(--neumorphic-shadow-inset-sm), 0 0 0 2px var(--primary-color);
}

.select:not(.is-multiple):not(.is-loading)::after {
    border-color: var(--primary-color);
}

/* Pricing Switch */
.pricing-switcher {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
}

.switch[type="checkbox"] {
  height: 0;
  width: 0;
  visibility: hidden;
}

.switch[type="checkbox"] + label {
  cursor: pointer;
  text-indent: -9999px;
  width: 50px;
  height: 28px;
  background: var(--background-color);
  display: block;
  border-radius: 100px;
  position: relative;
  box-shadow: var(--neumorphic-shadow-inset);
}

.switch[type="checkbox"] + label:after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: var(--white-color);
  border-radius: 90px;
  transition: 0.3s var(--elastic-easing);
  box-shadow: var(--neumorphic-shadow-outset-sm);
}

.switch[type="checkbox"]:checked + label {
  background: var(--primary-color);
}

.switch[type="checkbox"]:checked + label:after {
  left: calc(100% - 3px);
  transform: translateX(-100%);
  background: var(--white-color);
}

/*
  ========================================
  Section-Specific Styles
  ========================================
*/
/* Clientele */
#clientele img {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all var(--transition-speed-normal) var(--elastic-easing);
}

#clientele img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* Awards */
#awards {
  background-color: #d1d9e6; /* Slightly darker background for contrast */
}

#awards .level-item .title {
    color: var(--primary-color);
}

/* Gallery */
#gallery .image img {
  border-radius: var(--border-radius-md);
  box-shadow: var(--neumorphic-shadow-outset);
  transition: transform var(--transition-speed-normal) var(--elastic-easing), box-shadow var(--transition-speed-normal) var(--elastic-easing);
}

#gallery .image img:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 12px 12px 24px var(--dark-shadow-color), -12px -12px 24px var(--light-shadow);
}

/* Pricing Section */
#pricing .card.is-featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
}


/*
  ========================================
  Footer
  ========================================
*/
.footer {
  background-color: #d1d9e6;
  padding: 3rem 1.5rem;
  color: var(--text-color-light);
}

.footer .title {
  color: var(--dark-color);
}

.footer a {
  color: var(--text-color-light);
  font-weight: 500;
}

.footer a:hover {
  color: var(--primary-color);
}

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

.footer ul li {
    margin-bottom: 0.5rem;
}


/*
  ========================================
  Animations & Transitions
  ========================================
*/

/* Barba.js Page Transitions */
.barba-leave-active,
.barba-enter-active {
  transition: opacity 0.5s ease;
}

.barba-leave-to,
.barba-enter-from {
  opacity: 0;
}

/* Scroll Animations */
.js-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--elastic-easing), transform 0.8s var(--elastic-easing);
}

.js-scroll.scrolled {
  opacity: 1;
  transform: translateY(0);
}