/* ============================================
   PLANET DESIGN - CUSTOM STYLESHEET
   Bootstrap 5 customizations & brand styles
   ============================================ */

:root {
  /* Primary Colors */
  --primary-dark: #0c3c60;
  --primary-teal: #1eabc7;
  --primary-gray: #b0a986;
  --primary-light: #d1e0eb;
  
  /* Neutral Colors */
  --text-dark: #0c3c60;
  --text-light: #ffffff;
  --bg-white: #ffffff;
  --bg-light: #f5f5f5;
  
  /* Typography */
  --font-primary: 'Open Sans', sans-serif;
  --font-heading: 'Raleway', sans-serif;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

html, body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-dark);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */

.navbar {
  background: var(--text-light);
  box-shadow: 0 2px 8px rgba(12, 60, 96, 0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark) !important;
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-teal) !important;
}

.nav-link.active {
  color: var(--primary-teal) !important;
  border-bottom: 2px solid var(--primary-teal);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, rgba(30, 171, 199, 0.9) 100%);
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(12, 60, 96, 0.7);
  z-index: 0;
}

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

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--primary-light);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
  background: var(--primary-teal);
  border: none;
  color: var(--text-light);
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 171, 199, 0.3);
  color: var(--text-light);
}

.btn-secondary {
  background: var(--primary-dark);
  border: 2px solid var(--primary-dark);
  color: var(--text-light);
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: transparent;
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* ============================================
   SERVICE CARDS
   ============================================ */

.service-card {
  background: var(--bg-white);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(12, 60, 96, 0.15);
  border-color: var(--primary-teal);
}

.service-card h3 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.service-card p {
  color: #666;
  margin-bottom: 1.5rem;
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-teal);
  margin-bottom: 1rem;
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
  padding: 60px 0;
}

.section-light {
  background: var(--bg-light);
}

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

.section-title h2 {
  color: var(--primary-dark);
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-teal);
  border-radius: 2px;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: var(--primary-dark);
  color: var(--text-light);
  padding: 40px 0 20px;
}

footer h5 {
  color: var(--primary-teal);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

footer a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary-teal);
}

footer ul {
  list-style: none;
  padding: 0;
}

footer li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

/* ============================================
   IMAGE PLACEHOLDERS
   ============================================ */

.img-placeholder {
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.9rem;
  text-align: center;
  border-radius: 8px;
  overflow: hidden;
  min-height: 300px;
}

img.lazy {
  background: var(--bg-light);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero {
    padding: 60px 0;
  }

  .section {
    padding: 40px 0;
  }

  .navbar-collapse {
    background: var(--bg-white);
    border-top: 1px solid #e0e0e0;
    margin-top: 10px;
    padding: 15px 0;
  }

  .nav-link {
    padding: 0.5rem 0 !important;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-primary-dark {
  color: var(--primary-dark);
}

.text-primary-teal {
  color: var(--primary-teal);
}

.bg-primary-dark {
  background: var(--primary-dark);
}

.bg-primary-light {
  background: var(--primary-light);
}

.border-teal {
  border: 2px solid var(--primary-teal);
}

.shadow-sm {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* ============================================
   CIRCULAR IMAGES & GALLERY
   ============================================ */

.circular-image {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.circular-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card:hover .circular-image {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(30, 171, 199, 0.3);
}

/* Gallery Items */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 30px 15px 15px;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-overlay h5 {
  color: white;
  margin: 0;
  font-size: 1.2rem;
}

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

/* Responsive Circular Images */
@media (max-width: 768px) {
  .circular-image {
    width: 200px;
    height: 200px;
  }
}
