/**
 * Purple Buzz - Agency Theme Styles
 * Colors and layout inspired by TemplateMo Purple Buzz
 */

:root {
  --primary-purple: #6266ea;
  --secondary-purple: #5558d1;
  --heading-dark: #3a3e64;
  --body-gray: #6c757d;
  --light-bg: #f8f9fa;
  --white: #ffffff;
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6 {
  color: var(--heading-dark);
  font-weight: 700;
}

/* Header Adjustments */
.uk-navbar-container:not(.uk-navbar-transparent) {
  background: var(--white);
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}

.uk-navbar-left img {
  max-height: 70px;
  width: auto;
  transition: transform 0.3s ease;
}

.uk-navbar-left img:hover {
  transform: scale(1.05);
}

/* Hide Drupal's default text branding to focus on the logo */
.site-name, .site-slogan {
  display: none !important;
}

.uk-navbar-nav > li > a {
  color: var(--heading-dark);
  text-transform: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0 25px;
  position: relative;
}

.uk-navbar-nav > li > a::after {
  content: "";
  position: absolute;
  bottom: 15px;
  left: 25px;
  right: 25px;
  height: 2px;
  background: var(--primary-purple);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.uk-navbar-nav > li:hover > a::after,
.uk-navbar-nav > li > a.uk-active::after {
  transform: scaleX(1);
}

.uk-navbar-nav > li:hover > a,
.uk-navbar-nav > li > a.uk-active {
  color: var(--primary-purple);
}

/* Hero Section */
.purple-hero {
  position: relative;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: var(--white);
}

.purple-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(98, 102, 234, 0.6); /* Purple Overlay */
}

.purple-hero .uk-container {
  position: relative;
  z-index: 1;
}

.purple-hero h1, 
.purple-hero p,
.purple-hero .uk-text-lead {
  color: var(--white) !important;
}

.purple-hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
}

/* Buttons */
.uk-button-primary {
  background-color: var(--primary-purple);
  border-radius: 5px;
  padding: 10px 25px;
  transition: 0.3s;
}

.uk-button-primary:hover {
  background-color: var(--secondary-purple);
}

/* Services Grid */
.service-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card .card-icon {
  background: var(--primary-purple);
  color: var(--white) !important;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.service-card .card-icon * {
  color: var(--white) !important;
}

/* Portfolio Overlay */
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.portfolio-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(98, 102, 234, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 0.4s;
  color: var(--white);
}

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

/* Footer Overrides */
#footer {
  background: #3a3e64 !important; /* Deep dark purple/gray */
  color: rgba(255,255,255,0.7);
}

#footer h3 {
  color: var(--white);
}

.uk-icon-button {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: none;
}

.uk-icon-button:hover {
  background: var(--primary-purple);
}
