/* Ocean Plastic Skateboards - Main CSS */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Custom Properties - Color Palette */
:root {
  /* Primary Ocean Plastic Colors */
  --primary-ocean: #20488f;
  --primary-ocean-light: #4d7afa;
  --primary-ocean-dark: #2135c4;
  
  --secondary-aqua: #19bfc7;
  --secondary-aqua-light: #2acef4;
  --secondary-aqua-dark: #1380a9;
  
  --accent-coral: #ff9d26;
  --accent-coral-light: #eb7c27;
  --accent-coral-dark: #f55d11;
  
  --neutral-wave: #738194;
  --neutral-wave-light: #8ca5c7;
  --neutral-wave-dark: #495362;
  
  --plastic-green: #0b886c;
  --plastic-green-light: #0acf8a;
  --plastic-green-dark: #03816b;
  
  /* Additional Shades */
  --surface-light: #f8fafc;
  --surface-white: #ffffff;
  --surface-dark: #0a0f1d;
  --text-primary: #213649;
  --text-secondary: #6c8095;
  
  /* Gradients */
  --gradient-ocean: linear-gradient(135deg, var(--primary-ocean) 0%, var(--secondary-aqua) 100%);
  --gradient-sunset: linear-gradient(135deg, var(--accent-coral) 0%, var(--primary-ocean) 100%);
  --gradient-wave: linear-gradient(135deg, var(--secondary-aqua-light) 0%, var(--plastic-green) 100%);
}

/* Global Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--surface-white);
  overflow-x: hidden;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-ocean);
  color: var(--surface-white);
  padding: 8px;
  text-decoration: none;
  border-radius: 0 0 8px 4px;
  z-index: 1001;
}

.skip-link:focus {
  top: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 2.62rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.82rem; }
h4 { font-size: 1.60rem; }
h5 { font-size: 1.31rem; }
h6 { font-size: 1.24rem; }

p { 
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

/* Header & Navigation */
.navbar {
  background: var(--gradient-ocean);
  backdrop-filter: blur(16px);
  box-shadow: 0 6px 23px rgba(38, 65, 149, 0.10);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(27, 76, 150, 0.95);
  backdrop-filter: blur(16px);
}

.navbar-brand {
  font-size: 1.53rem;
  font-weight: 700;
  color: var(--surface-white);
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--surface-white);
  font-weight: 500;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--secondary-aqua-light);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-ocean);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(21, 57, 139, 0.30);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--surface-white);
    padding-top: 228px;
}

.hero-title {
  font-size: 3.55rem;
  font-weight: 700;
  margin-bottom: 1.57rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.56rem;
  font-weight: 400;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-description {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}

/* Section Styling */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background: var(--surface-light);
}

.section-title {
  font-size: 2.59rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-ocean);
}

.section-subtitle {
  font-size: 1.33rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--secondary-aqua-dark);
}

.section-description {
  font-size: 1.27rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Cards */
.card-custom {
  border: none;
  border-radius: 114px;
  box-shadow: 0 13px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  height: 100%;
  background: var(--surface-white);
}

.card-custom:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
}

.card-custom .card-body {
  padding: 2rem;
}

.card-custom .card-title {
  font-size: 1.53rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-ocean);
}

.card-custom .card-text {
  color: var(--text-secondary);
  margin-bottom: 1.55rem;
}

/* Services Cards */
.service-card {
  background: var(--surface-white);
  border-radius: 25px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-15px);
  border-color: var(--secondary-aqua-light);
  box-shadow: 0 25px 60px rgba(0, 211, 231, 0.20);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-wave);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--surface-white);
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-coral);
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--surface-light);
}

/* Team Cards */
.team-card {
  text-align: center;
  padding: 2rem;
  background: var(--surface-white);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--secondary-aqua-light);
}

.team-name {
  font-size: 1.38rem;
  font-weight: 600;
  margin-bottom: 0.68rem;
  color: var(--primary-ocean);
}

.team-role {
  color: var(--text-secondary);
  font-style: italic;
}

/* Reviews/Testimonials */
.review-card {
  background: var(--surface-white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  height: 100%;
  position: relative;
}

.review-text {
  font-style: italic;
  font-size: 1.21rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
  line-height: 1.7;
}

.review-author {
  font-weight: 600;
  color: var(--primary-ocean);
  margin-bottom: 0.68rem;
}

.review-stars {
  color: var(--accent-coral);
  font-size: 1.39rem;
}

/* FAQ Accordion */
.faq-accordion .accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.faq-accordion .accordion-header button {
  background: var(--gradient-ocean);
  color: var(--surface-white);
  font-weight: 600;
  border: none;
  padding: 1.5rem;
  font-size: 1.27rem;
}

.faq-accordion .accordion-body {
  background: var(--surface-white);
  padding: 2rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Contact Form */
.contact-form {
  background: var(--surface-white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.contact-info {
  background: var(--surface-light);
  padding: 2rem;
  border-radius: 15px;
  height: 100%;
}

.form-control {
  border: 2px solid var(--surface-light);
  border-radius: 10px;
  padding: 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--secondary-aqua);
  box-shadow: 0 0 0 0.2rem rgba(6, 188, 188, 0.25);
}

.form-label {
  font-weight: 600;
  color: var(--primary-ocean);
  margin-bottom: 0.97rem;
}

/* Buttons */
.btn-primary {
  background: var(--gradient-ocean);
  border: none;
  border-radius: 50px;
  padding: 1rem 2.5rem;
  font-weight: 600;
  font-size: 1.22rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(36, 86, 161, 0.30);
  background: var(--gradient-sunset);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--secondary-aqua);
  color: var(--secondary-aqua);
  border-radius: 50px;
  padding: 1rem 2.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--secondary-aqua);
  color: var(--surface-white);
  transform: translateY(-3px);
}

/* Gallery */
.gallery-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Timeline */
.timeline {
  position: relative;
  margin: 3rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: var(--gradient-ocean);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  width: 45%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
  padding-right: 2rem;
}

.timeline-item:nth-child(even) {
  left: 55%;
  text-align: left;
  padding-left: 2rem;
}

.timeline-dot {
  position: absolute;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--accent-coral);
  border-radius: 50%;
  border: 4px solid var(--surface-white);
  box-shadow: 0 0 0 4px var(--secondary-aqua);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -12px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -12px;
}

/* Footer */
.footer {
  background: var(--surface-dark);
  color: var(--surface-white);
  padding: 3rem 0 1rem;
}

.footer-section h5 {
  color: var(--secondary-aqua-light);
  margin-bottom: 1.58rem;
  font-weight: 600;
}

.footer-section p,
.footer-section a {
  color: var(--neutral-wave-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--secondary-aqua-light);
}

.footer-bottom {
  border-top: 1px solid var(--neutral-wave-dark);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
}

/* Back to Top Button */
#c7b9ddk-to-top {
  display: none;
  opacity: 0;
  transition: all 0.3s ease;
}

#c1a3d2k-to-top.show {
  display: block;
  opacity: 1;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* Page Hidden State */
.page-hidden * {
  animation-play-state: paused !important;
}

/* Utilities */
.text-gradient {
  background: var(--gradient-ocean);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-ocean {
  background: var(--gradient-ocean);
}

.bg-gradient-sunset {
  background: var(--gradient-sunset);
}

.bg-gradient-wave {
  background: var(--gradient-wave);
}

/* No CSS Grid Fallback */
.no-cssgrid .gallery-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.no-cssgrid .gallery-item {
  flex: 1 1 300px;
  max-width: calc(50% - 1rem);
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Spacing Utilities */
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }
.my-6 { margin-top: 5rem; margin-bottom: 5rem; }

/* Image Responsiveness */
img {
  max-width: 100%;
  height: auto;
}

/* Lazy Loading States */
.lazy {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lazy.loaded {
  opacity: 1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--surface-light);
}

::-webkit-scrollbar-thumb {
  background: var(--secondary-aqua);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-aqua-dark);
}

/* Error and Success States */
.alert {
  border-radius: 10px;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  border: none;
}

.alert-success {
  background: rgba(5, 152, 117, 0.10);
  color: var(--plastic-green-dark);
  border-left: 4px solid var(--plastic-green);
}

.alert-danger {
  background: rgba(251, 109, 86, 0.10);
  color: #c42c27;
  border-left: 4px solid #da3e40;
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Form Validation */
.form-control.is-invalid {
  border-color: #ce1d16;
}

.form-control.is-valid {
  border-color: var(--plastic-green);
}

.invalid-feedback {
  color: #f55c3e;
  font-size: 0.89rem;
  margin-top: 0.59rem;
}

.valid-feedback {
  color: var(--plastic-green);
  font-size: 0.89rem;
  margin-top: 0.75rem;
} 


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
