/* ==========================================
   GRAPHIC DESIGN & BRANDING AGENCY TEMPLATE
   ========================================== */

/* COLOR PALETTE - 5 Primary Colors + Light/Dark Shades */
:root {
  /* Primary Colors */
  --color-primary-1: #6f6eff;        /* Electric Blue */
  --color-primary-2: #8649a7;        /* Royal Purple */
  --color-primary-3: #f47da2;        /* Pink Rose */
  --color-primary-4: #0eceb7;        /* Mint Green */
  --color-primary-5: #f0a22c;        /* Peach Orange */
  
  /* Light Shades */
  --color-light-1: #eef2ff;          /* Light Blue */
  --color-light-2: #f6f1ff;          /* Light Purple */
  --color-light-3: #fee4ee;          /* Light Pink */
  --color-light-4: #dffff9;          /* Light Mint */
  --color-light-5: #eed4c6;          /* Light Peach */
  
  /* Dark Shades */
  --color-dark-1: #3e4ed2;           /* Dark Blue */
  --color-dark-2: #6b3e84;           /* Dark Purple */
  --color-dark-3: #db678d;           /* Dark Pink */
  --color-dark-4: #1f9f74;           /* Dark Mint */
  --color-dark-5: #d19742;           /* Dark Peach */
  
  /* Neutral Colors */
  --color-white: #FFFFFF;
  --color-black: #010101;
  --color-gray-light: #F8F9FA;
  --color-gray: #757980;
  --color-gray-dark: #373a3e;
  
  /* Typography */
  --font-size-base: 14px;
  --font-size-h1: 2.5rem;
  --font-size-h2: 2rem;
  --font-size-h3: 1.5rem;
  
  /* Spacing */
  --section-padding: 80px 0;
  
  /* Shadows */
  --shadow-sm: 0 3px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
  
  /* Border Radius */
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 22px;
}

/* RESET & BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--color-black);
  background-color: var(--color-white);
  overflow-x: hidden;
  padding-top: 80px;
}

/* TYPOGRAPHY */
h1 { font-size: var(--font-size-h1); font-weight: 700; line-height: 1.2; }
h2 { font-size: var(--font-size-h2); font-weight: 600; line-height: 1.3; }
h3 { font-size: var(--font-size-h3); font-weight: 600; line-height: 1.4; }

p {
  font-size: var(--font-size-base);
  margin-bottom: 1rem;
  color: var(--color-gray-dark);
}

/* HEADER */
.navbar {
  background: linear-gradient(135deg, var(--color-primary-1), var(--color-primary-2));
  padding: 1rem 0;
  box-shadow: var(--shadow-md);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.navbar-brand {
  font-size: 1.53rem !important;
  font-weight: 700;
  color: var(--color-white) !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--color-white) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--color-light-1) !important;
  transform: translateY(-2px);
}

/* HERO SECTION */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--color-primary-1) 0%, var(--color-primary-2) 50%, var(--color-primary-3) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../ZEN_images/hero-bg.webp') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  padding-top: 50px !important;
  position: relative;
  z-index: 2;
  color: var(--color-white);
}

/* SECTIONS */
.section {
  padding: var(--section-padding);
}

.section-title {
  font-size: 2.62rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--color-primary-1), var(--color-primary-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* CARDS */
.card {
  border: none;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  overflow: hidden;
  height: 100%;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary-1);
  margin: 1rem 0;
}

/* TEAM */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-member {
  text-align: center;
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border: 4px solid var(--color-light-1);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TESTIMONIALS */
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  margin: 1rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 4rem;
  color: var(--color-primary-1);
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: serif;
}

/* FAQ */
.faq-item {
  background: var(--color-white);
  border-radius: var(--border-radius-md);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  background: var(--color-gray-light);
  padding: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-question:hover {
  background: var(--color-light-1);
}

.faq-question.active {
  background: var(--color-primary-1);
  color: var(--color-white);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer.active {
  padding: 1.5rem;
  max-height: 200px;
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--border-radius-md);
}

/* CONTACT FORM */
.contact-form {
  background: var(--color-gray-light);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  margin-top: 3rem;
}

.form-control {
  border: 2px solid var(--color-gray-light);
  border-radius: var(--border-radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary-1), var(--color-primary-2));
  border: none;
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  color: white;
  cursor: pointer;
}

/* FOOTER */
.footer {
  background: linear-gradient(135deg, var(--color-dark-5), var(--color-gray-dark));
  color: var(--color-white);
  padding: 3rem 0 1rem;
}

.footer a {
  color: var(--color-white);
  text-decoration: none;
}

.footer a:hover {
  color: var(--color-primary-1);
}

/* SPACE PAGE */
#space {
  min-height: 80vh;
  background: linear-gradient(135deg, var(--color-light-1), var(--color-light-2));
  display: flex;
  align-items: center;
  justify-content: center;
}

/* PROGRESS BAR */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 9999;
}

/* NAVBAR SCROLLED STATE */
.navbar.navbar-scrolled {
  background: rgba(101, 128, 239, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

/* BACK TO TOP BUTTON */
.back-to-top {
  transition: all 0.3s ease;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(86, 111, 240, 0.40);
}

/* FORM VALIDATION STYLES */
.is-invalid {
  border-color: #cb4149 !important;
}

.is-valid {
  border-color: #2e934c !important;
}

.invalid-feedback {
  color: #f22c46;
  font-size: 0.95rem;
  margin-top: 0.44rem;
}

/* LOADING ANIMATION */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-primary-1), var(--color-primary-2));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: var(--color-white);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ENHANCED ANIMATIONS */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-up {
  animation: slideInUp 0.6s ease forwards;
}

.animate-left {
  animation: slideInLeft 0.6s ease forwards;
}

.animate-right {
  animation: slideInRight 0.6s ease forwards;
}

/* ENHANCED HOVER EFFECTS */
.card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-photo {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* GALLERY ENHANCEMENTS */
.gallery-item a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-md);
}

.gallery-item a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--color-primary-1), var(--color-primary-2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item a:hover::after {
  opacity: 0.8;
}

.gallery-item a::before {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-white);
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.gallery-item a:hover::before {
  opacity: 1;
}

/* ENHANCED TESTIMONIALS */
.testimonials-slider {
  position: relative;
}

.testimonial-card {
  transition: all 0.5s ease;
}

/* ENHANCED FAQ */
.faq-question {
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.55rem;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: translateY(-50%) rotate(45deg);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .services-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .back-to-top {
    bottom: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
  }
  
  .gallery-item a::before {
    font-size: 1.56rem;
  }
}



/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

.social-icons-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
