:root {
    --primary: #CE908F;
    --secondary: #46615F;
    --cream: #F5E6E0;
    --sage: #D4DCCD;
    --coffee: #3C2F2F;
    --pink: #CE908F;
    --green: #46615F;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --spacing: 20px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    background-color: #fafafa;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Styles du logo */
.logo-container {
    position: fixed;
    top: var(--spacing);
    left: var(--spacing);
    z-index: 1000;
}

.logo-text {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;
    color: white;
    position: relative;
    display: inline-flex;
    align-items: baseline;
    transition: var(--transition);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.logo-text .accent {
    color: var(--primary);
    font-style: italic;
}

.logo-text .cafe {
    font-size: 18px;
    color: var(--green);
    letter-spacing: 1px;
    margin-left: 4px;
}

/* Styles du héros */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(206, 144, 143, 0.4), rgba(206, 144, 143, 0.4)), url('../assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 0;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s 0.3s forwards;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Styles des sections */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 0;
    padding: 80px 0;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-image: url('../assets/hero-bg.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.section-1::before {
    background-blend-mode: overlay;
    background-color: rgba(206, 144, 143, 0.3);
}

.section-1:hover::before {
    background-color: rgba(206, 144, 143, 0.85);
}

.section-2::before {
    background-blend-mode: overlay;
    background-color: rgba(70, 97, 95, 0.3);
}

.section-2:hover::before {
    background-color: rgba(70, 97, 95, 0.85);
}

.section-3::before {
    background-blend-mode: overlay;
    background-color: rgba(60, 47, 47, 0.3);
}

.section-3:hover::before {
    background-color: rgba(60, 47, 47, 0.85);
}

/* Styles des cartes de café */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing);
    position: relative;
    z-index: 1;
    background: transparent;
}

.cafes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 0 var(--spacing);
    margin: 40px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.cafe-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cafe-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.cafe-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cafe-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cafe-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--coffee);
    margin: 0;
}

.cafe-address {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--text-light);
    background: rgba(0, 0, 0, 0.03);
    padding: 8px 16px;
    border-radius: 20px;
    width: fit-content;
    margin: 0;
}

.cafe-address svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

/* Styles des avis Google */
.google-reviews {
    background: rgba(248, 248, 248, 0.9);
    backdrop-filter: blur(5px);
    padding: 10px 16px;
    border-radius: 16px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 15px;
    color: var(--text-dark);
}

.rating-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    color: #FBC02D;
    font-size: 18px;
    letter-spacing: 1px;
}

.reviews-count {
    color: var(--text-light);
    font-size: 14px;
}

.review-link {
    color: var(--text-light);
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.review-link:hover {
    color: var(--primary);
}

/* Styles des boutons */
.cafe-actions {
    display: flex;
    gap: 16px;
    margin-top: auto;
}

.button {
    padding: 14px 28px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    flex: 1;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    letter-spacing: 0.3px;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
}

.button-primary {
    background-color: var(--primary);
    color: white;
}

.button-primary:hover {
    transform: translateY(-2px);
    background-color: transparent;
    color: var(--pink);
    border: 1px solid var(--pink);
}

.button-secondary {
    background-color: transparent;
    color: var(--coffee);
    border: 1px solid var(--coffee);
}

.button-secondary:hover {
    background-color: rgba(0, 0, 0, 0.03);
    transform: translateY(-2px);
}

/* Styles de la modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    background: transparent;
    border-radius: 16px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    overflow: hidden;
}

.modal-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    transition: opacity 0.3s ease;
    height: 80px;
}

.modal:hover .modal-header {
    opacity: 1;
}

.modal-header:not(:hover) {
    opacity: 0;
}

.modal-title {
    font-size: 1.5rem;
    color: white;
    margin: 0;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-left: 10px;
}

.modal-title::after {
    content: " - Réservations";
    opacity: 0.8;
    font-weight: 400;
}

.modal-close {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid white;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 10px;
    backdrop-filter: blur(4px);
    text-shadow: none;
    padding: 0;
    line-height: 1;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    color: white;
}

.modal-content {
    height: 600px;
    background: transparent;
}

.modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

/* Styles du footer */
.footer {
    background-color: transparent;
    padding: 60px var(--spacing);
    text-align: left;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.footer-about p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.contact-link span {
    color: white;
    font-size: 18px;
    font-weight: 500;
}

.contact-link small {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-top: 4px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.social-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: var(--transition);
}

.social-link:hover {
    opacity: 1;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Styles pour mobile */
@media (max-width: 768px) {
    .logo-text {
        font-size: 28px;
    }
    
    .logo-text .cafe {
        font-size: 16px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .cafes-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 20px;
        padding: 20px;
        margin: 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100%;
    }

    .cafes-grid::-webkit-scrollbar {
        display: none;
    }

    .cafe-card {
        flex: 0 0 calc(100% - 40px);
        scroll-snap-align: center;
        width: calc(100% - 40px);
        margin: 0;
        min-width: 280px;
    }

    .cafe-content {
        padding: 15px;
    }

    .cafe-title {
        font-size: 18px;
    }

    .cafe-address {
        font-size: 12px;
    }

    .button {
        padding: 8px 15px;
        font-size: 14px;
    }

    .cafe-image {
        height: 200px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section::before {
        background-attachment: scroll;
    }

    .carousel-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin: 20px auto 0;
        padding: 10px 0;
        width: 100%;
        position: relative;
        z-index: 2;
    }

    .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .dot.active {
        background: white;
        transform: scale(1.2);
    }

    .container {
        padding: 0;
        overflow: hidden;
    }

    .section-content {
        width: 100%;
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .cafe-actions {
        flex-direction: column;
        gap: 10px;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ajouter ces styles pour la page merci */
.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
    padding: 40px 20px;
}

.thank-you-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.thank-you-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.thank-you-content .button {
    display: inline-block;
    margin-top: 20px;
    background-color: white;
    color: var(--primary);
}

.thank-you-content .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .thank-you-content h1 {
        font-size: 2rem;
    }
    
    .thank-you-content p {
        font-size: 1rem;
    }
}

/* Styles pour les mentions légales */
.legal-content {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.legal-content h1 {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.legal-content section {
    margin-bottom: 2rem;
}

.legal-content h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.legal-link {
    margin-left: 1rem;
    color: inherit;
    text-decoration: none;
    opacity: 0.8;
}

.legal-link:hover {
    opacity: 1;
    text-decoration: underline;
} 