/*
Theme Name: Cap sur Groix
Theme URI: https://capsurgroix.com
Author: Cap sur Groix
Author URI: https://capsurgroix.com
Description: Thème WordPress pour Cap sur Groix - Visite de la rade de Lorient et de l'ile de Groix avec skipper
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: capsurgroix
*/

/* Reset et styles de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Header et Navigation */
header {
  background-color: #1a5276;
  padding: 1rem;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #85c1e9;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 0 1rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Tarifs Section */
.tarifs {
  padding: 5rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.tarifs h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.tarif-card {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s;
}

.tarif-card:hover {
  transform: translateY(-5px);
}

.price {
  font-size: 2.5rem;
  color: #1a5276;
  font-weight: bold;
  margin: 1rem 0;
}

.tarif-card ul {
  list-style: none;
  margin: 1rem 0;
}

.tarif-card ul li {
  margin: 0.5rem 0;
}

/* Contact Section */
.contact {
  background-color: #f8f9fa;
  padding: 5rem 1rem;
}

.contact h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

#contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.form-group textarea {
  height: 150px;
}

button[type="submit"] {
  background-color: #1a5276;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  font-size: 1rem;
  transition: background-color 0.3s;
}

button[type="submit"]:hover {
  background-color: #154360;
}

/* Footer Styles */
footer {
    background-color: #2c5282;
    color: #dddddd;
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid #eaeaea;
}
footer h3{
  color: #dddddd;
}
footer p{
  color: #dddddd;
}
footer ul li a{
  color: #dddddd;
  text-decoration: none;
}
footer ul {
  list-style: none;
}
footer ul li a:hover{
  color: #3498db;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 0 1rem;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    color: #dddddd;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #dddddd;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: #3498db;
}

.footer-section p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eaeaea;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
  }

  nav ul {
    margin-top: 1rem;
  }

  nav ul li {
    margin: 0 1rem;
  }

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

.home-header {
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.main-context-container{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.title-container {
    flex: 1;
}

.title-container h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
}

.title-container p {
    font-size: 1.1rem;
    color: #666;
}

.logo-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo {
    width: 100%;
    height: auto;
}

.contact-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.contact-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    text-decoration: underline;
}

.nav-container {
    background-color: #2c5282;
    padding: 10px 0;
    
}

.nav-list {
    display: flex;
    
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-item {
    margin: 0 15px;
    
}



/* Responsive design */
@media (max-width: 768px) {
    .banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .contact-container {
        align-items: center;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
    }

    .nav-item {
        margin: 5px 0;
    }
}

.home-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.content {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.text-container {
    flex: 1;
}

.text-container h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.text-container p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.image-container {
    flex: 1;
}

.image-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Gallery styles */
.gallery-section {
    margin: 60px 0;
}

.wrapper {
    perspective: 1000px;
}

.gallery {
    width: 100%;
}

.gallery ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.gallery li {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery li:hover {
    transform: scale(1.05);
}

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

/* Avis section */
.avis {
    margin: 60px 0;
}

.avis h2 {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 40px;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.card p {
    color: #666;
    line-height: 1.6;
}

/* Responsive design */
@media (max-width: 768px) {
    .content {
        flex-direction: column;
    }

    .gallery ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-cards {
        grid-template-columns: 1fr;
    }
}



.card-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
/* Styles pour les cartes de balades */
.card {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    max-width: 33%;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eaeaea;
}

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

.card h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.card p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card ul li {
    color: #555;
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 1rem;
    line-height: 1.5;
}
main {
  min-height: 70vh;
}
.balade-description {
  max-width: 100%;
  margin: 20px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  padding: 25px;
}
h5 a {
  color: #3498db;
  text-decoration: none;
}
.balade-description h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
}
.balade-description ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.balade-description ul li {
  color: #555;
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  font-size: 1rem;
  line-height: 1.5;
}
.balade-description ul li:before {
  content: "•";
  color: #007bff;
  position: absolute;
  left: 10px;
  font-size: 1.2rem;
}

.card ul li:before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: 10px;
    font-size: 1.2rem;
}

.tarifs-list b {
  color: rgb(2, 2, 2);
}
@media (max-width: 480px) {
  .gallery ul {
      grid-template-columns: 1fr;
  }
  .card-container {
      flex-direction: column;
  }
  .card {
    max-width: 100%;
  }
}
/* Responsive design pour les cartes */
@media (max-width: 768px) {
    .card {
        padding: 20px;
        margin: 15px 0;
    }

    .card h3 {
        font-size: 1.3rem;
    }

    .card p {
        font-size: 1rem;
    }

    .card ul li {
        font-size: 0.95rem;
    }
}

/* Styles pour la section des horaires */
.horaires-section {
    background: #f8f9fa;
    padding: 40px 20px;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.horaires-section h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.horaires-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #3498db;
}

.horaires-section p {
    color: #666;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 30px;
}

.horaires-section h5 {
    color: #e74c3c;
    font-style: italic;
    text-align: center;
    margin-bottom: 30px;
    padding: 15px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 8px;
}

.horaires-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.horaire-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid #eaeaea;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.horaire-card .type {
    color: #3498db;
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.horaire-card .horaire {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 10px 0;
}

.horaire-card .duree {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.horaire-card .possibilites {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    flex-grow: 1;
}

.horaire-card .possibilites li {
    color: #555;
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 1rem;
    line-height: 1.5;
}

.horaire-card .possibilites li:before {
    content: "✓";
    color: #2ecc71;
    position: absolute;
    left: 10px;
    font-size: 1rem;
}

/* Responsive design pour les horaires */
@media (max-width: 768px) {
    .horaires-section {
        padding: 30px 15px;
    }

    .horaires-section h2 {
        font-size: 1.8rem;
    }

    .horaires-grid {
        grid-template-columns: 1fr;
    }

    .horaire-card {
        padding: 20px;
    }
} 