/* CSS Variables - Brand Colors */
:root {
  --brand-primary: #0d1b41;
  --brand-accent: #bb8a38;
  --brand-secondary: #081228;
  --bs-warning: #bb8a38;
  --text-dark: #222;
  --text-muted: #6b6b6b;
  --text-light: #fff;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #dee2e6;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
}

.text-warning {
  color: var(--brand-accent) !important;
}

/* Link Colors */
a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--brand-accent);
  text-decoration: none;
}

/* Typography */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

.lead {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* Top Bar Styles */
.top-bar {
  background: var(--brand-secondary);
  color: #fff;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
}

.top-bar__link {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
  display: inline-block;
  margin-right: 1.5rem;
}

.top-bar__link:hover {
  opacity: 0.8;
  color: var(--brand-accent);
}

.top-bar__link i {
  margin-right: 0.5rem;
}

/* Header & Navigation */
.header {
  margin-bottom: 56px;
  margin-top: 42px;
}

.navbar {
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar.fixed-top {
  top: 38px;
}

.navbar-logo {
  height: 55px;
  width: auto;
  transition: all 0.3s ease;
}

.navbar-logo:hover {
  opacity: 0.8;
}

.brand-name {
  font-family: 'Baloo 2', cursive;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--brand-primary);
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background-color: var(--brand-accent);
}

/* CTA Button */
.btn-cta {
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 27, 65, 0.3);
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
.btn:focus {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
}

/* Hero Slider */
.hero-slider {
  margin-top: 98px;
}

.hero-slide {
  position: relative;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(13, 27, 65, 0.7) 0%, rgba(8, 18, 40, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
  padding: 3rem 0;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 3px 3px 8px rgba(0,0,0,0.8);
  color: #ffffff;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
  color: #ffffff;
}

/* Section Styling */
.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--brand-primary);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Company Intro */
.company-intro {
  background-color: var(--bg-white);
}

.intro-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: var(--bg-light);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brand-accent);
  color: var(--text-light);
  border-radius: 50%;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(187, 138, 56, 0.3);
}

.feature-content h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--brand-primary);
}

.feature-content p {
  margin: 0;
  color: var(--text-muted);
}

/* Product Cards */
.product-card {
  background-color: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-card__image {
  position: relative;
  width: 100%;
  padding-top: 66.67%;
  overflow: hidden;
  background-color: var(--bg-light);
}

.product-card__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.05);
}

.product-card__content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card__title {
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
  color: var(--brand-primary);
  transition: all 0.3s ease;
}

.product-card__link {
  display: block;
  text-decoration: none;
  overflow: hidden;
}

.product-card__title-link {
  text-decoration: none;
  color: inherit;
}

.product-card__title-link:hover {
  text-decoration: none;
}

.product-card:hover .product-card__title {
  color: var(--brand-accent);
}

.product-card__text {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-primary) 100%);
  border: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(187, 138, 56, 0.4);
}

/* Hero CTA Button Override */
.btn-primary.hero-cta {
  background: var(--brand-accent) !important;
  color: var(--brand-primary) !important;
  font-weight: 700;
}

.btn-primary.hero-cta:hover {
  background: #d9a000 !important;
  color: var(--brand-primary) !important;
}

.btn-outline-primary {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
  font-weight: 600;
}

.btn-outline-primary:hover {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--text-light);
}

/* Contact Quick Info */
.contact-quick {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.contact-quick::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 40%;
  height: 200%;
  background: radial-gradient(circle, rgba(187, 138, 56, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.contact-quick__item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-quick__item:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.contact-quick__icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-accent);
  color: var(--brand-primary);
  border-radius: 50%;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(187, 138, 56, 0.4);
}

.contact-quick__content h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.contact-quick__content a,
.contact-quick__content p {
  color: var(--text-light);
  text-decoration: none;
  margin: 0;
  transition: color 0.3s ease;
}

.contact-quick__content a:hover {
  color: var(--brand-accent);
}

/* Footer */
.footer {
  background-color: #1a1a1a;
}

.footer-logo {
  display: block;
  height: auto;
  max-width: 180px;
}

.footer__title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--brand-accent);
}

.footer__text {
  color: #aaa;
  line-height: 1.8;
}

.footer__subtitle {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: var(--brand-accent);
}

.footer__contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__contact li {
  color: #aaa;
  margin-bottom: 0.75rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.footer__contact i {
  color: var(--brand-accent);
  margin-top: 0.25rem;
}

.footer__divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

.footer__copyright {
  color: #888;
  margin: 0;
}

/* Contact Form */
.contact-form {
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.form-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  border: 2px solid var(--border-color);
  padding: 0.75rem;
  border-radius: 6px;
  transition: border-color 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 0.25rem rgba(13, 27, 65, 0.15);
}

.form-control.is-invalid {
  border-color: #dc3545;
}

.invalid-feedback {
  display: block;
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.alert-success {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
  border-radius: 6px;
  padding: 1rem;
}

/* Product Detail Page */
.product-detail {
  padding: 3rem 0;
}

.product-detail__image {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.product-detail__title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--brand-primary);
}

.product-detail__subtitle {
  font-size: 1.875rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--brand-secondary);
}

.product-detail__content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.product-detail__content p {
  margin-bottom: 1.25rem;
}

.product-detail__content ul {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.product-detail__content li {
  margin-bottom: 0.5rem;
}

.product-detail__cta {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--brand-accent);
  margin-top: 2rem;
}

/* Map Container */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* About Page */
.about-hero {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
  color: var(--text-light);
  padding: 4rem 0;
  margin-top: 130px;
}

.about-hero .hero-title {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 0;
}

.about-section {
  padding: 3rem 0;
}

.about-section h2 {
  color: var(--brand-primary);
  margin-bottom: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  background-color: var(--bg-light);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(187, 138, 56, 0.15);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-primary);
  display: block;
}

.stat-label {
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 991px) {
  /* Hide top bar on mobile */
  .top-bar {
    display: none;
  }
  
  .navbar.fixed-top {
    top: 0;
  }
  
  .hero-slider {
    margin-top: 56px;
  }
  
  .about-hero {
    margin-top: 56px;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .hero-slide {
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 1.875rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-content {
    padding: 2rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .feature-item {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-quick__item {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 425px) {
  .hero-slide {
    min-height: 400px;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .product-card__title {
    font-size: 1.125rem;
  }
}

/* Floating Action Buttons */
.floating-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  color: #fff;
}

.floating-btn--phone {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.floating-btn--whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  50% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }
}

@media (max-width: 768px) {
  .floating-buttons {
    bottom: 20px;
    right: 20px;
    gap: 12px;
  }
  
  .floating-btn {
    width: 55px;
    height: 55px;
    font-size: 1.3rem;
  }
  
  .feature-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .feature-icon {
    margin-bottom: 1rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .hero-cta,
  .btn {
    display: none;
  }
  
  body {
    font-size: 12pt;
  }
  
  .hero-slide {
    min-height: auto;
    page-break-after: avoid;
  }
}
