// Variables @primary-color: #e63946; @secondary-color: #1d3557; @text-color: #333; @light-bg: #f8f9fa; @header-bg: #1d3557; @header-text: #ffffff; // Mixins .transition(@property: all, @duration: 0.3s) { transition: @property @duration ease-in-out; } // Styles généraux body { font-family: 'Poppins', sans-serif; color: @text-color; } // Header Style .main-header { top: 0; left: 0; right: 0; z-index: 1030; background-color: @header-bg; box-shadow: 0 2px 10px rgba(0,0,0,0.15); .navbar { padding: 0.8rem 0; .transition(); .navbar-brand { padding: 0; margin: 0; img { height: 45px; width: auto; .transition(); &:hover { transform: scale(1.05); } } } .navbar-nav { margin-left: auto; align-items: center; .nav-item { margin: 0 0.2rem; .nav-link { color: @header-text; font-weight: 500; font-size: 0.95rem; padding: 0.5rem 1rem; border-radius: 4px; .transition(); &:hover { color: fade(@header-text, 80%); } &.active { color: @primary-color; } } } } .navbar-toggler { padding: 0.4rem 0.8rem; border: 2px solid fade(@header-text, 20%); border-radius: 6px; .transition(); &:focus { outline: none; box-shadow: none; } &:hover { border-color: fade(@header-text, 50%); } .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); } } } } // Hero Section .hero { background: #576068; min-height: 100vh; display: flex; align-items: center; position: relative; .hero-content { color: @header-text; text-align: center; padding: 2rem 0; h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 1.5rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); letter-spacing: -1px; } .hero-stats { margin: 4rem 0; display: flex; justify-content: center; .stat-item { padding: 2rem; text-align: center; position: relative; &:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); height: 50px; width: 1px; background: fade(@header-text, 20%); } i { font-size: 2.5rem; color: @primary-color; margin-bottom: 1rem; .transition(); } .stat-number { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.5rem; background: linear-gradient(45deg, @primary-color, lighten(@primary-color, 20%)); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .stat-text { font-size: 1.1rem; opacity: 0.9; font-weight: 500; } &:hover { i { transform: translateY(-5px); } } } } .hero-buttons { .btn { padding: 1rem 2rem; font-weight: 600; font-size: 1.1rem; .transition(); &:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); } i { margin-right: 0.5rem; } &.btn-primary { background: linear-gradient(45deg, @primary-color, lighten(@primary-color, 10%)); border: none; } &.btn-outline-light { border-width: 2px; &:hover { background-color: @header-text; color: @secondary-color; } } } } } .hero-scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); a { color: @header-text; font-size: 2rem; opacity: 0.8; animation: bounce 2s infinite; .transition(); &:hover { opacity: 1; color: @primary-color; } } } } // Sections communes .section-padding { padding: 100px 0; } .section-header { margin-bottom: 4rem; text-align: center; h2 { color: @secondary-color; font-weight: 700; font-size: 2.5rem; margin-bottom: 1rem; position: relative; display: inline-block; &::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 80px; height: 3px; background: @primary-color; } } .lead { color: fade(@text-color, 80%); font-size: 1.2rem; max-width: 800px; margin: 1.5rem auto 0; } } // Karting Section .karting-card { .transition(); border: none; border-radius: 15px; overflow: hidden; box-shadow: 0 2px 15px rgba(0,0,0,0.1); height: 100%; &:hover { transform: translateY(-5px); box-shadow: 0 5px 20px rgba(0,0,0,0.2); } .card-img-top { height: 200px; object-fit: contain; padding: 1rem; background-color: #f8f9fa; } .card-body { padding: 1.5rem; .card-title { color: @secondary-color; font-weight: bold; font-size: 1.5rem; margin-bottom: 1rem; } .card-text { color: fade(@text-color, 80%); margin-bottom: 1.5rem; } .features-list { list-style: none; padding: 0; margin: 1rem 0; li { margin-bottom: 0.8rem; display: flex; align-items: center; i { color: @primary-color; margin-right: 10px; font-size: 1.1rem; } } } .price { font-size: 1.5rem; color: @primary-color; font-weight: bold; margin: 1.5rem 0; display: flex; align-items: center; justify-content: space-between; &::before { content: 'À partir de'; font-size: 0.9rem; color: fade(@text-color, 60%); font-weight: normal; } } .btn-primary { width: 100%; padding: 0.8rem; font-weight: 600; border-radius: 8px; .transition(); &:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); } } } } // Footer footer { background-color: @secondary-color; padding: 4rem 0 2rem; h5 { color: @header-text; font-weight: 600; font-size: 1.2rem; margin-bottom: 1.5rem; position: relative; padding-bottom: 0.8rem; &::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background: @primary-color; } } .social-links { a { color: @header-text; font-size: 1.5rem; margin-right: 1.2rem; .transition(); &:hover { color: @primary-color; transform: translateY(-3px); } } } .list-unstyled { li { margin-bottom: 0.8rem; a { color: fade(@header-text, 80%); text-decoration: none; .transition(); display: flex; align-items: center; &:hover { color: @primary-color; padding-left: 5px; } } } } .copyright { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid fade(@header-text, 10%); text-align: center; color: fade(@header-text, 60%); } } // Page Circuits .circuits-title { background-color: @header-bg; color: @header-text; padding: 50px 0 40px; margin-bottom: 2rem; h1 { font-size: 2.5rem; font-weight: 700; margin: 0; } .breadcrumb { margin: 1rem 0 0; .breadcrumb-item { color: fade(@header-text, 70%); a { color: @header-text; text-decoration: none; &:hover { color: @primary-color; } } &.active { color: @primary-color; } } } } // Circuits Grid .circuits-grid { padding: 60px 0; .circuit-item { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 15px rgba(0,0,0,0.1); height: 100%; .transition(); &:hover { transform: translateY(-5px); box-shadow: 0 5px 20px rgba(0,0,0,0.2); } &-image { height: 300px; overflow: hidden; position: relative; img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; background-color: #f8f9fa; .transition(); &:hover { transform: scale(1.05); } } } &-content { padding: 1.5rem; h3 { color: @secondary-color; font-size: 1.5rem; margin-bottom: 1rem; } .circuit-item-info { margin-bottom: 1rem; p { margin-bottom: 0.5rem; i { color: @primary-color; width: 20px; margin-right: 10px; } } } } .circuit-item-actions { display: flex; gap: 1rem; margin-top: 1.5rem; .btn { flex: 1; padding: 0.8rem 1.5rem; font-weight: 500; transition: all 0.3s ease; &:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); } } } } } // Google Maps Section .circuits-google-maps { padding: 60px 0; background-color: darken(@light-bg, 3%); .maps-header { h2 { color: @secondary-color; font-weight: 700; font-size: 2rem; margin-bottom: 1rem; } p { color: fade(@text-color, 70%); font-size: 1.1rem; } } .google-map-container { height: 600px; width: 100%; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); } } // Animations @keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-20px); } 60% { transform: translateY(-10px); } } // Media Queries @media (max-width: 991px) { .hero { .hero-content { h1 { font-size: 2.5rem; } .hero-stats { flex-direction: column; margin: 2rem 0; .stat-item { padding: 1rem; &:not(:last-child)::after { display: none; } .stat-number { font-size: 2rem; } } } .hero-buttons { .btn { display: block; width: 100%; margin: 0.5rem 0; } } } } .section-header { h2 { font-size: 2rem; } } .karting-card { margin-bottom: 2rem; } .circuits-google-maps { .google-map-container { height: 400px; } } } // Karting Page Styles .karting-circuits { .circuit-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 15px rgba(0,0,0,0.1); height: 100%; .transition(); &:hover { transform: translateY(-5px); box-shadow: 0 5px 20px rgba(0,0,0,0.2); } .circuit-image { height: 200px; overflow: hidden; img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; background-color: #f8f9fa; } } .circuit-content { padding: 1.5rem; h3 { color: @secondary-color; font-size: 1.5rem; margin-bottom: 1rem; } } .karting-types { margin: 1rem 0; .karting-type { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem; border-bottom: 1px solid fade(@text-color, 10%); &:last-child { border-bottom: none; } .type-name { text-transform: capitalize; font-weight: 500; } .type-price { color: @primary-color; font-weight: 600; } } } } } // Stages Page Styles .stages-circuits { .circuit-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 15px rgba(0,0,0,0.1); height: 100%; .transition(); &:hover { transform: translateY(-5px); box-shadow: 0 5px 20px rgba(0,0,0,0.2); } .circuit-image { height: 200px; overflow: hidden; img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; background-color: #f8f9fa; } } .circuit-content { padding: 1.5rem; h3 { color: @secondary-color; font-size: 1.5rem; margin-bottom: 1rem; } } .stage-types { margin: 1.5rem 0; background: @light-bg; border-radius: 8px; padding: 1rem; .stage-type { display: flex; justify-content: space-between; align-items: center; padding: 0.8rem; border-bottom: 1px solid fade(@text-color, 10%); &:last-child { border-bottom: none; } .type-name { text-transform: capitalize; font-weight: 500; color: @secondary-color; } .type-price { color: @primary-color; font-weight: 700; font-size: 1.2rem; } } } .circuit-description { color: fade(@text-color, 80%); font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.5rem; } } } // Contact Page Styles .contact-section { .contact-info { background: white; border-radius: 12px; padding: 2rem; box-shadow: 0 2px 15px rgba(0,0,0,0.1); .info-item { display: flex; align-items: flex-start; margin-bottom: 2rem; &:last-child { margin-bottom: 0; } i { font-size: 1.5rem; color: @primary-color; margin-right: 1rem; width: 2.5rem; height: 2.5rem; background: fade(@primary-color, 10%); border-radius: 50%; display: flex; align-items: center; justify-content: center; } .info-content { h4 { color: @secondary-color; font-size: 1.2rem; margin-bottom: 0.5rem; font-weight: 600; } p { color: fade(@text-color, 80%); margin-bottom: 0.3rem; font-size: 0.95rem; &:last-child { margin-bottom: 0; } } } } } .contact-form-wrapper { background: white; border-radius: 12px; padding: 2rem; box-shadow: 0 2px 15px rgba(0,0,0,0.1); h3 { color: @secondary-color; font-size: 1.8rem; margin-bottom: 2rem; font-weight: 600; text-align: center; } .form-group { margin-bottom: 1rem; label { color: @secondary-color; font-weight: 500; margin-bottom: 0.5rem; } .form-control { border: 1px solid fade(@text-color, 10%); border-radius: 8px; padding: 0.8rem; .transition(); &:focus { border-color: @primary-color; box-shadow: 0 0 0 0.2rem fade(@primary-color, 15%); } } textarea { min-height: 120px; resize: vertical; } } .btn-primary { padding: 0.8rem 2rem; font-weight: 600; .transition(); &:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); } } } } // Media Queries pour la page contact @media (max-width: 991px) { .contact-section { .contact-info { margin-bottom: 2rem; } } } // Mentions Légales Styles .legal-content { .legal-section { margin-bottom: 3rem; &:last-child { margin-bottom: 0; } h2 { color: @secondary-color; font-size: 1.5rem; margin-bottom: 1.5rem; font-weight: 600; padding-bottom: 0.5rem; border-bottom: 2px solid fade(@primary-color, 10%); } p { color: fade(@text-color, 90%); line-height: 1.6; margin-bottom: 1rem; } ul { list-style: none; padding-left: 0; margin-bottom: 1.5rem; li { margin-bottom: 0.5rem; color: fade(@text-color, 90%); strong { color: @secondary-color; margin-right: 0.5rem; } } } } } // Media Queries @media (max-width: 768px) { .legal-content { .legal-section { h2 { font-size: 1.3rem; } } } } // Gallery Page Styles .gallery-section { .gallery-filters { .btn-filter { margin: 0 0.5rem; padding: 0.5rem 1.5rem; border-radius: 25px; border: 2px solid @primary-color; color: @primary-color; background: transparent; font-weight: 500; .transition(); &:hover, &.active { background-color: @primary-color; color: white; } } } .gallery-card { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 15px rgba(0,0,0,0.1); height: 300px; .transition(); img { width: 100%; height: 100%; object-fit: cover; .transition(); } .gallery-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.8)); padding: 1.5rem; opacity: 0; .transition(); h3 { color: white; font-size: 1.2rem; margin-bottom: 0.5rem; } p { color: fade(white, 90%); margin: 0; font-size: 0.9rem; } } &:hover { transform: translateY(-5px); box-shadow: 0 5px 20px rgba(0,0,0,0.2); img { transform: scale(1.1); } .gallery-overlay { opacity: 1; } } } } // Media Queries @media (max-width: 768px) { .gallery-section { .gallery-filters { .btn-filter { margin: 0.25rem; padding: 0.4rem 1rem; font-size: 0.9rem; } } .gallery-card { height: 250px; } } } // Circuit Detail Page Styles .circuit-detail-page { .circuit-hero { height: 60vh; background-size: cover; background-position: center; position: relative; display: flex; align-items: center; color: white; .hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); } .container { position: relative; z-index: 1; h1 { font-size: 3.5rem; font-weight: 700; margin-bottom: 1rem; } .lead { font-size: 1.5rem; opacity: 0.9; } } } .info-card { background: white; border-radius: 12px; padding: 2rem; box-shadow: 0 2px 15px rgba(0,0,0,0.1); h2 { color: @secondary-color; font-size: 1.8rem; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 2px solid fade(@primary-color, 10%); } h3 { color: @secondary-color; font-size: 1.4rem; margin-bottom: 1rem; } } .specs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; .spec-item { text-align: center; padding: 1.5rem; background: fade(@primary-color, 5%); border-radius: 8px; i { font-size: 2rem; color: @primary-color; margin-bottom: 1rem; } h4 { font-size: 1.1rem; color: @secondary-color; margin-bottom: 0.5rem; } p { font-size: 1.2rem; font-weight: 600; color: @primary-color; margin: 0; } } } .activities-grid { .activity-card { background: fade(@primary-color, 5%); border-radius: 8px; padding: 1.5rem; h3 { color: @secondary-color; margin-bottom: 1rem; } .activity-options { list-style: none; padding: 0; margin-bottom: 1.5rem; li { display: flex; justify-content: space-between; align-items: center; padding: 0.8rem 0; border-bottom: 1px solid fade(@text-color, 10%); &:last-child { border-bottom: none; } .option-name { font-weight: 500; color: @secondary-color; } .option-price { font-weight: 600; color: @primary-color; font-size: 1.1rem; } } } } } }