/*
Theme Name: Side-B Child
Theme URI: http://side-b.local
Description: Thème enfant Side-B pour Hello Elementor - Portfolio & Cas Clients
Author: Side-B Conseil
Author URI: http://side-b.local
Template: hello-elementor
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: side-b-child
Domain Path: /languages
*/

/* Import des styles du thème parent */
@import url('../hello-elementor/style.css');

/* Variables CSS personnalisées Side-B */
:root {
  --color-primary: #000000;
  --color-secondary: #ffffff;
  --color-accent: #f5f5f5;
  --color-text: #333333;
  --color-text-light: #666666;
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Styles de base Side-B */
body {
  font-family: var(--font-primary);
  color: var(--color-text);
}

/* Portfolio & Case Studies */
.case-study-card {
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}

.case-study-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.case-study-featured-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  background-color: #f0f0f0;
}

.case-study-content {
  padding: 24px;
}

.case-study-category {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 8px;
}

.case-study-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-primary);
  text-decoration: none;
}

.case-study-title:hover {
  color: #666;
}

/* Archive layout */
.archive-case-studies {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

/* Single case study template */
 

.case-defi,
.case-concept,
.case-actions,
.case-results {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e0e0e0;
}

.case-defi:last-of-type,
.case-concept:last-of-type,
.case-actions:last-of-type,
.case-results:last-of-type {
  border-bottom: none;
}

.case-section-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.case-section-content {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-light);
}

/* Galerie */
.case-gallery {
  margin: 40px 0;
}

.case-gallery-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.case-gallery-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  background-color: #f0f0f0;
}

.case-gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

/* Vidéo */
.case-video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 4px;
  background-color: #000;
  margin: 40px 0;
}

.case-video-wrapper video,
.case-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Navigation entre cas */
.case-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e0e0e0;
}

.case-nav-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-primary);
  transition: color 0.3s ease;
}

.case-nav-link:hover {
  color: #666;
}

.case-nav-label {
  font-size: 12px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 4px;
}

.case-nav-title {
  font-size: 18px;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .archive-case-studies {
    grid-template-columns: 1fr;
  }

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

  .case-navigation {
    flex-direction: column;
    gap: 20px;
  }

  .case-nav-link {
    width: 100%;
  }
}
