/* ==========================================================================
   Raketta — Custom Styles (on top of Bootstrap 5.3.8)
   Professional TV Mounting & AV Installation
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --rk-navy: #1a1f36;
  --rk-navy-light: #252b48;
  --rk-navy-dark: #0f1322;
  --rk-orange: #ff6b35;
  --rk-orange-hover: #e85a27;
  --rk-orange-light: #ff8c5a;
  --rk-gold: #f0b429;
  --rk-gray-50: #f8f9fc;
  --rk-gray-100: #eef0f6;
  --rk-gray-200: #d8dce8;
  --rk-gray-400: #9ba3b8;
  --rk-gray-600: #636b83;
  --rk-gray-800: #2d3348;
  --rk-white: #ffffff;
  --rk-success: #22c55e;
  --rk-font-heading: 'Inter', sans-serif;
  --rk-font-body: 'Inter', sans-serif;
  --rk-radius: 12px;
  --rk-radius-lg: 20px;
  --rk-shadow-sm: 0 2px 8px rgba(26,31,54,0.06);
  --rk-shadow-md: 0 8px 24px rgba(26,31,54,0.10);
  --rk-shadow-lg: 0 16px 48px rgba(26,31,54,0.14);
  --rk-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Global Reset & Base ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--rk-font-body);
  color: var(--rk-gray-800);
  background: var(--rk-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--rk-font-heading);
  font-weight: 700;
  color: var(--rk-navy);
  line-height: 1.2;
}

a {
  color: var(--rk-orange);
  text-decoration: none;
  transition: color var(--rk-transition);
}

a:hover {
  color: var(--rk-orange-hover);
}

img {
  max-width: 100%;
  height: auto;
}

/* ---------- Navbar ---------- */
.rk-navbar {
  background: rgba(26,31,54,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0.6rem 0;
  transition: all var(--rk-transition);
}

.rk-navbar.scrolled {
  box-shadow: var(--rk-shadow-md);
}

.rk-navbar .navbar-brand img {
  height: 40px;
  width: auto;
}

.rk-navbar .nav-link {
  color: rgba(255,255,255,0.8) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  transition: all var(--rk-transition);
  position: relative;
}

.rk-navbar .nav-link:hover,
.rk-navbar .nav-link.active {
  color: var(--rk-white) !important;
  background: rgba(255,107,53,0.12);
}

.rk-navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--rk-orange);
  border-radius: 2px;
}

.rk-navbar .navbar-toggler {
  border: none;
  color: var(--rk-white);
  font-size: 1.4rem;
  padding: 0.25rem 0.5rem;
}

.rk-navbar .navbar-toggler:focus {
  box-shadow: none;
}

.rk-nav-cta {
  background: var(--rk-orange) !important;
  color: var(--rk-white) !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  padding: 0.5rem 1.2rem !important;
}

.rk-nav-cta:hover {
  background: var(--rk-orange-hover) !important;
  transform: translateY(-1px);
}

/* ---------- Hero Section ---------- */
.rk-hero {
  position: relative;
  background: linear-gradient(135deg, var(--rk-navy) 0%, var(--rk-navy-light) 50%, #1e2a4a 100%);
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 6rem 0 4rem;
}

.rk-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,107,53,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.rk-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(240,180,41,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.rk-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,107,53,0.12);
  border: 1px solid rgba(255,107,53,0.25);
  color: var(--rk-orange-light);
  padding: 0.4rem 1rem;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.rk-hero h1 {
  color: var(--rk-white);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.rk-hero h1 span {
  background: linear-gradient(135deg, var(--rk-orange) 0%, var(--rk-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rk-hero p {
  color: var(--rk-gray-200);
  font-size: 1.15rem;
  max-width: 540px;
  margin-bottom: 2rem;
}

.rk-hero-img {
  position: relative;
  z-index: 1;
}

.rk-hero-img img {
  border-radius: var(--rk-radius-lg);
  box-shadow: var(--rk-shadow-lg);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.rk-hero-img::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: calc(var(--rk-radius-lg) + 8px);
  background: linear-gradient(135deg, var(--rk-orange), transparent, var(--rk-gold));
  opacity: 0.3;
  z-index: -1;
}

/* ---------- Buttons ---------- */
.btn-rk-primary {
  background: var(--rk-orange);
  color: var(--rk-white);
  border: none;
  border-radius: 10px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--rk-transition);
  box-shadow: 0 4px 14px rgba(255,107,53,0.35);
}

.btn-rk-primary:hover {
  background: var(--rk-orange-hover);
  color: var(--rk-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,53,0.45);
}

.btn-rk-outline {
  background: transparent;
  color: var(--rk-white);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 10px;
  padding: 0.7rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--rk-transition);
}

.btn-rk-outline:hover {
  border-color: var(--rk-white);
  color: var(--rk-white);
  background: rgba(255,255,255,0.08);
}

.btn-rk-dark {
  background: var(--rk-navy);
  color: var(--rk-white);
  border: none;
  border-radius: 10px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all var(--rk-transition);
}

.btn-rk-dark:hover {
  background: var(--rk-navy-light);
  color: var(--rk-white);
  transform: translateY(-2px);
}

/* ---------- Section Styles ---------- */
.rk-section {
  padding: 5rem 0;
}

.rk-section-gray {
  background: var(--rk-gray-50);
}

.rk-section-dark {
  background: var(--rk-navy);
}

.rk-section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}

.rk-section-title h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.rk-section-title p {
  color: var(--rk-gray-600);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto;
}

.rk-section-title .rk-divider {
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, var(--rk-orange), var(--rk-gold));
  border-radius: 3px;
  margin: 1rem auto 0;
}

/* ---------- Feature Cards ---------- */
.rk-feature-card {
  background: var(--rk-white);
  border: 1px solid var(--rk-gray-100);
  border-radius: var(--rk-radius);
  padding: 2rem;
  height: 100%;
  transition: all var(--rk-transition);
  position: relative;
  overflow: hidden;
}

.rk-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--rk-orange), var(--rk-gold));
  opacity: 0;
  transition: opacity var(--rk-transition);
}

.rk-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rk-shadow-md);
  border-color: transparent;
}

.rk-feature-card:hover::before {
  opacity: 1;
}

.rk-feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  background: rgba(255,107,53,0.1);
  color: var(--rk-orange);
}

.rk-feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.rk-feature-card p {
  color: var(--rk-gray-600);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Stats ---------- */
.rk-stats {
  background: linear-gradient(135deg, var(--rk-navy) 0%, var(--rk-navy-light) 100%);
  padding: 3.5rem 0;
}

.rk-stat {
  text-align: center;
  padding: 1.5rem;
}

.rk-stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--rk-orange), var(--rk-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.rk-stat-label {
  color: var(--rk-gray-200);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ---------- Service Cards ---------- */
.rk-service-card {
  background: var(--rk-white);
  border: 1px solid var(--rk-gray-100);
  border-radius: var(--rk-radius);
  padding: 2.5rem 2rem;
  height: 100%;
  text-align: center;
  transition: all var(--rk-transition);
}

.rk-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--rk-shadow-lg);
  border-color: transparent;
}

.rk-service-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(240,180,41,0.08));
  color: var(--rk-orange);
  transition: all var(--rk-transition);
}

.rk-service-card:hover .rk-service-icon {
  background: var(--rk-orange);
  color: var(--rk-white);
  transform: scale(1.05);
}

.rk-service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.rk-service-card p {
  color: var(--rk-gray-600);
  font-size: 0.93rem;
}

/* ---------- Gallery ---------- */
.rk-gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.rk-gallery-filters .btn {
  border-radius: 99px;
  padding: 0.45rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--rk-gray-200);
  color: var(--rk-gray-600);
  background: var(--rk-white);
  transition: all var(--rk-transition);
}

.rk-gallery-filters .btn:hover,
.rk-gallery-filters .btn.active {
  background: var(--rk-orange);
  border-color: var(--rk-orange);
  color: var(--rk-white);
}

.rk-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.rk-gallery-item {
  position: relative;
  border-radius: var(--rk-radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  transition: all var(--rk-transition);
}

.rk-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.rk-gallery-item:hover img {
  transform: scale(1.06);
}

.rk-gallery-item .rk-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(26,31,54,0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--rk-transition);
}

.rk-gallery-item:hover .rk-gallery-overlay {
  opacity: 1;
}

.rk-gallery-overlay h4 {
  color: var(--rk-white);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.rk-gallery-overlay span {
  color: var(--rk-orange-light);
  font-size: 0.85rem;
}

.rk-gallery-item.hidden {
  display: none;
}

/* Lightbox modal */
.rk-lightbox .modal-dialog {
  max-width: 90vw;
}

.rk-lightbox .modal-content {
  background: rgba(0,0,0,0.95);
  border: none;
  border-radius: var(--rk-radius);
}

.rk-lightbox .modal-body {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rk-lightbox .modal-body img {
  max-height: 85vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: var(--rk-radius);
}

.rk-lightbox .btn-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  filter: invert(1);
}

/* ---------- FAQ ---------- */
.rk-faq .accordion-item {
  border: 1px solid var(--rk-gray-100);
  border-radius: var(--rk-radius) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.rk-faq .accordion-button {
  font-weight: 600;
  color: var(--rk-navy);
  background: var(--rk-white);
  font-size: 1rem;
  padding: 1.15rem 1.5rem;
  box-shadow: none;
}

.rk-faq .accordion-button:not(.collapsed) {
  background: var(--rk-gray-50);
  color: var(--rk-orange);
}

.rk-faq .accordion-button::after {
  transition: transform var(--rk-transition);
}

.rk-faq .accordion-body {
  color: var(--rk-gray-600);
  font-size: 0.95rem;
  padding: 0 1.5rem 1.25rem;
  line-height: 1.8;
}

/* ---------- Contact Info ---------- */
.rk-contact-card {
  background: var(--rk-white);
  border: 1px solid var(--rk-gray-100);
  border-radius: var(--rk-radius);
  padding: 2rem;
  height: 100%;
}

.rk-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rk-gray-100);
}

.rk-contact-item:last-child {
  border-bottom: none;
}

.rk-contact-item i {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,107,53,0.1);
  color: var(--rk-orange);
  border-radius: 10px;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.rk-contact-item h5 {
  font-size: 0.85rem;
  color: var(--rk-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.rk-contact-item p {
  margin: 0;
  font-size: 1rem;
  color: var(--rk-navy);
  font-weight: 500;
}

.rk-contact-item a {
  color: var(--rk-navy);
  font-weight: 500;
}

.rk-contact-item a:hover {
  color: var(--rk-orange);
}

/* ---------- Contact Form ---------- */
.rk-form .form-control,
.rk-form .form-select {
  border: 1px solid var(--rk-gray-200);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: all var(--rk-transition);
}

.rk-form .form-control:focus,
.rk-form .form-select:focus {
  border-color: var(--rk-orange);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.12);
}

.rk-form label {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--rk-navy);
  margin-bottom: 0.4rem;
}

/* ---------- Footer ---------- */
.rk-footer {
  background: var(--rk-navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}

.rk-footer h5 {
  color: var(--rk-white);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.rk-footer p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.rk-footer a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--rk-transition);
}

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

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

.rk-footer-links li {
  margin-bottom: 0.6rem;
}

.rk-footer-links a::before {
  content: '→ ';
  opacity: 0;
  margin-left: -12px;
  transition: all var(--rk-transition);
}

.rk-footer-links a:hover::before {
  opacity: 1;
  margin-left: 0;
}

.rk-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  margin-top: 3rem;
}

.rk-footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
}

.rk-footer .rk-footer-logo img {
  height: 36px;
  margin-bottom: 1rem;
}

/* ---------- WhatsApp FAB ---------- */
.rk-whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all var(--rk-transition);
  text-decoration: none;
}

.rk-whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
  color: white;
}

/* ---------- Scroll Animations ---------- */
.rk-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.rk-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- About Page ---------- */
.rk-process-step {
  text-align: center;
  padding: 1.5rem;
}

.rk-process-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rk-orange);
  color: var(--rk-white);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* ---------- Breadcrumb ---------- */
.rk-breadcrumb {
  background: var(--rk-gray-50);
  padding: 1rem 0;
  border-bottom: 1px solid var(--rk-gray-100);
}

.rk-breadcrumb .breadcrumb {
  margin: 0;
  font-size: 0.85rem;
}

.rk-breadcrumb .breadcrumb-item a {
  color: var(--rk-gray-600);
}

.rk-breadcrumb .breadcrumb-item.active {
  color: var(--rk-navy);
  font-weight: 500;
}

/* ---------- Page Headers ---------- */
.rk-page-header {
  background: linear-gradient(135deg, var(--rk-navy) 0%, var(--rk-navy-light) 100%);
  padding: 6rem 0 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.rk-page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,107,53,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.rk-page-header h1 {
  color: var(--rk-white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.rk-page-header p {
  color: var(--rk-gray-200);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Pricing CTA ---------- */
.rk-pricing-cta {
  background: linear-gradient(135deg, var(--rk-orange), var(--rk-orange-hover));
  border-radius: var(--rk-radius-lg);
  padding: 3rem;
  text-align: center;
  color: var(--rk-white);
}

.rk-pricing-cta h3 {
  color: var(--rk-white);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.rk-pricing-cta p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

/* ---------- Map Container ---------- */
.rk-map {
  border-radius: var(--rk-radius);
  overflow: hidden;
  border: 1px solid var(--rk-gray-100);
  height: 350px;
}

.rk-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .rk-hero {
    min-height: auto;
    padding: 7rem 0 3rem;
    text-align: center;
  }

  .rk-hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .rk-hero-img {
    margin-top: 2.5rem;
  }

  .rk-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 575.98px) {
  .rk-section {
    padding: 3rem 0;
  }

  .rk-gallery-grid {
    grid-template-columns: 1fr;
  }

  .rk-stat {
    padding: 1rem;
  }

  .rk-hero h1 {
    font-size: 1.8rem;
  }
}
