/* Gorilla Glue Custom Styles */

:root {
  --gorilla-orange: #FF6B1A;
  --gorilla-dark: #1a1a1a;
  --gorilla-light: #f8f9fa;
}

/* Override Bootstrap Primary */
.bg-gorilla-orange {
  background-color: var(--gorilla-orange) !important;
}

.text-gorilla-orange {
  color: var(--gorilla-orange) !important;
}

.btn-gorilla-orange {
  background-color: var(--gorilla-orange);
  border-color: var(--gorilla-orange);
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-gorilla-orange:hover {
  background-color: #e55a0f;
  border-color: #e55a0f;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 26, 0.3);
}

/* AI Image Placeholders */
ai-img {
  display: block;
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
  position: relative;
  width: 100%;
}

ai-img::before {
  content: attr(alt);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #6c757d;
  font-size: 14px;
  text-align: center;
  padding: 1rem;
  font-weight: 500;
}

ai-img::after {
  content: '🦍';
  position: absolute;
  top: 15px;
  right: 15px;
  opacity: 0.6;
  font-size: 24px;
}

ai-img.rounded-circle {
  border-radius: 50%;
}

ai-img.card-img-top {
  border-radius: 8px 8px 0 0;
}

ai-img.certification-badge {
  height: 60px;
  width: 100px;
}

/* Navigation */
.navbar {
  transition: all 0.3s ease;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--gorilla-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--gorilla-orange);
}

/* Hero Section */
.hero-section .carousel-item {
  position: relative;
}

.hero-section .carousel-caption {
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 10px;
  bottom: 10%;
}

.hero-section ai-img {
  min-height: 600px;
  object-fit: cover;
}

/* Product Cards */
.product-card {
  transition: all 0.3s ease;
  overflow: hidden;
  border-radius: 12px;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 10;
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-card ai-img {
  height: 300px;
  transition: transform 0.3s ease;
}

.product-card:hover ai-img {
  transform: scale(1.05);
}

.rating i {
  font-size: 0.9rem;
}

.features .badge {
  font-weight: 500;
  padding: 0.4rem 0.6rem;
}

.product-specs {
  background: #f8f9fa;
  padding: 0.75rem;
  border-radius: 6px;
}

/* Category Section */
.category-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Solutions Cards */
.solution-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.solution-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

/* Stats Section */
.stat-card {
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: scale(1.05);
}

/* Testimonials */
.testimonial-card {
  border-left: 4px solid var(--gorilla-orange);
}

.stars i {
  font-size: 1.2rem;
}

/* Floating Buttons */
.floating-buttons .btn {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.floating-buttons .btn:hover {
  transform: scale(1.1);
}

#backToTop {
  opacity: 0;
  transition: opacity 0.3s ease;
}

#backToTop.visible {
  opacity: 1;
}

/* Promo Bar */
.promo-bar {
  font-weight: 500;
}

/* Top Bar */
.top-bar a {
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.top-bar a:hover {
  opacity: 0.8;
}

/* Page Banner */
.page-banner {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* Filter Section */
.filter-section .form-select {
  border: 2px solid #dee2e6;
  font-weight: 500;
  transition: all 0.3s ease;
}

.filter-section .form-select:focus {
  border-color: var(--gorilla-orange);
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 26, 0.25);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 50px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gorilla-orange);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gorilla-orange);
  border: 4px solid white;
  box-shadow: 0 0 0 2px var(--gorilla-orange);
}

/* Forms */
.form-control:focus,
.form-select:focus {
  border-color: var(--gorilla-orange);
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 26, 0.25);
}

.form-control-lg,
.form-select-lg {
  border-width: 2px;
}

/* Footer */
footer a {
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--gorilla-orange) !important;
}

.social-links a {
  transition: all 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  color: var(--gorilla-orange) !important;
}

/* Modal */
.modal-header {
  border-bottom: 3px solid rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section ai-img {
    min-height: 400px;
  }

  .hero-section .carousel-caption {
    padding: 1rem;
    bottom: 5%;
  }

  .hero-section .carousel-caption h1,
  .hero-section .carousel-caption h2 {
    font-size: 1.75rem;
  }

  .display-3 {
    font-size: 2rem;
  }

  .display-4 {
    font-size: 2rem;
  }

  .display-5 {
    font-size: 1.75rem;
  }

  .floating-buttons {
    margin-bottom: 1rem !important;
    margin-right: 1rem !important;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Card Hover Effects */
.card {
  border: none;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Success States */
.success-message {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 1rem;
  border-radius: 6px;
  margin: 1rem 0;
}

/* Blog Styles */
.blog-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.blog-meta {
  font-size: 0.875rem;
  color: #6c757d;
}

.blog-tag {
  background: var(--gorilla-orange);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Author Card */
.author-card {
  border-left: 5px solid var(--gorilla-orange);
  transition: all 0.3s ease;
}

.author-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .floating-buttons,
  .modal {
    display: none !important;
  }
}
