/* Project Iceberg - Custom Styles */

:root {
  --iceberg-blue: #0084FF;
  --iceberg-teal: #00C2FF;
  --iceberg-charcoal: #1A1A1A;
  --iceberg-white: #FFFFFF;
}

/* Typography */
body {
  font-family: 'Inter', sans-serif;
  color: var(--iceberg-charcoal);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--iceberg-charcoal);
}

/* Navigation */
.navbar {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95) !important;
  transition: all 0.3s ease;
  padding: 0.75rem 0;
}

.navbar-brand {
  padding: 0.5rem 0;
}

.navbar-logo {
  height: 32px !important;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.navbar-brand:hover .navbar-logo {
  transform: scale(1.02);
  filter: drop-shadow(0 2px 4px rgba(0, 132, 255, 0.2));
}

.nav-link {
  font-weight: 500;
  color: var(--iceberg-charcoal) !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--iceberg-blue) !important;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--iceberg-blue) 0%, var(--iceberg-teal) 100%);
  border: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 132, 255, 0.3);
  background: linear-gradient(135deg, var(--iceberg-teal) 0%, var(--iceberg-blue) 100%);
}

.btn-cta {
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 50px;
}

.btn-outline-primary {
  border-color: var(--iceberg-blue);
  color: var(--iceberg-blue);
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--iceberg-blue);
  border-color: var(--iceberg-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 132, 255, 0.3);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, rgba(0, 132, 255, 0.05) 0%, rgba(0, 194, 255, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: url('/static/images/iceberg-hero.svg') center bottom no-repeat;
  background-size: contain;
  opacity: 0.1;
  z-index: 0;
}

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

.hero-image img {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Cards */
.card {
  transition: all 0.3s ease;
  border-radius: 15px;
}

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

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 1.5rem;
}

.feature-item i {
  font-size: 2.5rem;
}

/* Timeline */
.timeline-item {
  position: relative;
  padding-left: 3rem;
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.timeline-marker::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 20px;
  width: 2px;
  height: 100px;
  background: #e9ecef;
  transform: translateX(-50%);
}

.timeline-item:last-child .timeline-marker::before {
  display: none;
}

/* Process Steps */
.process-step {
  position: relative;
}

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

/* Contact Form */
.contact-item {
  padding: 1rem 0;
  border-bottom: 1px solid #f8f9fa;
}

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

/* Shopping Cart */
#cart-items {
  min-height: 60px;
}

.cart-item {
  display: flex;
  justify-content: between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f8f9fa;
}

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

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .hero-section {
    padding-top: 2rem;
  }
  
  .display-4 {
    font-size: 2.5rem;
  }
  
  .timeline-item {
    padding-left: 2rem;
  }
  
  .timeline-marker {
    width: 15px;
    height: 15px;
  }
}

/* Utility Classes */
.text-primary {
  color: var(--iceberg-blue) !important;
}

.bg-primary {
  background: linear-gradient(135deg, var(--iceberg-blue) 0%, var(--iceberg-teal) 100%) !important;
}

.border-primary {
  border-color: var(--iceberg-blue) !important;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
  color: var(--iceberg-charcoal) !important;
  border-top: 1px solid #dee2e6;
}

footer h6 {
  color: var(--iceberg-charcoal);
  font-weight: 600;
}

footer .text-muted {
  color: #6c757d !important;
}

footer a {
  color: #6c757d !important;
  transition: color 0.3s ease;
  text-decoration: none;
}

footer a:hover {
  color: var(--iceberg-blue) !important;
  text-decoration: none;
}

footer .social-links a {
  color: var(--iceberg-blue) !important;
  font-size: 1.2rem;
}

footer .social-links a:hover {
  color: var(--iceberg-teal) !important;
  transform: translateY(-2px);
}

.footer-logo {
  height: 28px !important;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Custom Badge Colors */
.badge.bg-warning {
  background-color: #ffc107 !important;
}

.badge.bg-success {
  background-color: #28a745 !important;
}

.badge.bg-info {
  background-color: #17a2b8 !important;
}

.badge.bg-secondary {
  background-color: #6c757d !important;
}

.badge.bg-dark {
  background-color: var(--iceberg-charcoal) !important;
}

/* Loading States */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus States */
.btn:focus,
.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 132, 255, 0.25);
  border-color: var(--iceberg-blue);
}

/* Print Styles */
@media print {
  .navbar,
  footer,
  .btn {
    display: none !important;
  }
}
