@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600&amp;family=Inter:wght@300;400;500&amp;display=swap');

:root {
    --bg-color: #0a0a0a;
    --card-bg: #161616;
    --accent-color: #8eb251;
    --accent-glow: rgba(142, 178, 81, 0.2);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --border-color: #2a2a2a;
    --header-bg: rgba(18, 18, 18, 0.95);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html.light-mode {
    --bg-color: #f5f5f0;
    --card-bg: #ffffff;
    --accent-glow: rgba(142, 178, 81, 0.15);
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --border-color: #ddd;
    --header-bg: rgba(255, 255, 255, 0.95);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Cormorant+Garamond', serif;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    width: 50px;
    height: 50px;
    background: url('assets/logo.png') center/contain no-repeat;
    font-size: 0;
    color: transparent;
}

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

nav ul li a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

nav ul li a:hover,
nav ul li a.active {
    opacity: 1;
    color: var(--accent-color);
}

nav ul li a svg {
    display: block;
    width: 20px;
    height: 20px;
}

.theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1rem;
    padding: 0.5rem 0.8rem;
    transition: var(--transition-smooth);
    line-height: 1;
}

.theme-toggle:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 14rem;

    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    z-index: 2;
    max-width: 600px;
}

.hero h1 {
    font-size: clamp(2rem, 7vw, 5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.hero h1 span {
    color: var(--accent-color);
    font-style: italic;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 500px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s 0.2s forwards;
    overflow-wrap: break-word;
    hyphens: auto;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background: url('assets/hero.jpg') center/cover no-repeat;
    mask-image: linear-gradient(to left, black 50%, transparent);
    -webkit-mask-image: linear-gradient(to left, black 50%, transparent);
}

/* Sections */
section {
    padding: 10rem 10%;
}

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

.section-title span {
    color: var(--accent-color);
    font-style: italic;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    background: transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.btn:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-outline {
    border-color: var(--text-secondary);
    color: var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--accent-color);
    box-shadow: none;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s 0.4s forwards;
}

/* Info Section */
.info-section {
    background-color: var(--card-bg);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.info-image {
    width: 100%;
    max-width: 500px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    justify-self: center;
}

.info-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-smooth);
}

.info-image:hover {
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.info-text h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.caution {
    margin-top: 3rem;
    padding: 2rem;
    border-left: 3px solid var(--accent-color);
    background: rgba(142, 178, 81, 0.05);
    text-align: left;
    font-size: 0.9rem;
}

/* About Section */
.about-section {
    background: var(--card-bg);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    row-gap: 6rem;
    align-items: start;
}

.about-logo {
    width: 100%;
    max-width: 300px;
    justify-self: center;
}

.about-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.about-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: var(--transition-smooth);
    overflow: hidden;
    justify-self: center;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-smooth);
}

.about-image:hover {
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.about-image:hover img.no-zoom {
    transform: none;
}

.about-content h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    padding: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-image {
    height: 250px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    display: block;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3,
.service-card p,
.service-card .price {
    padding: 0 2rem;
}

.service-card h3 {
    margin-top: 2rem;
}

.service-card p {
    margin-top: 1rem;
}

.service-card .price {
    padding-bottom: 2rem;
}

.service-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-10px);
}

.service-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.service-card .price {
    display: block;
    margin-top: auto;
    padding-top: 2rem;
    font-weight: 600;
    color: var(--accent-color);
    letter-spacing: 1px;
}

/* Soins Optionnels */
.soins-optionnels {
    margin-top: 8rem;
    text-align: center;
}

.soins-optionnels h2 {
    font-size: 3rem;
    margin-bottom: 4rem;
}

.options-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.option {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 2rem;
    transition: var(--transition-smooth);
}

.option:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.option h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.option p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Services Page Enhancements */
.intro-services {
    max-width: 1000px;
    margin: 0 auto 5rem;
    text-align: center;
    padding: 8rem 5rem;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    color: #ffffff; /* White text for background */
}

.intro-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    z-index: 1;
}

.intro-services > * {
    position: relative;
    z-index: 2;
}

.intro-services h2 {
    font-size: 3rem;
    margin-bottom: 2.5rem;
    color: #ffffff;
}

.intro-services p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.services-footer {
    margin-top: 8rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.info-box {
    padding: 3rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.info-box h3 {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.info-box p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.closing-message {
    margin-top: 8rem;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-style: italic;
    color: var(--text-primary);
}

.signature {
    margin-top: 1rem;
    font-size: 2.5rem;
    color: var(--accent-color);
    font-style: normal;
}

.formations-list {
    list-style: none;
    margin-top: 1.5rem;
}

.formations-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Services Grid & Customizations */
.services-page {
    background-color: var(--bg-color);
    color: var(--text-primary);
}

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

.services-page .section-title span, .services-page h2 span {
    color: var(--accent-color);
}

.shirotchampi-detail {
    padding: 8rem 10%;
}

.detail-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.detail-container:hover {
    border-color: var(--accent-color);
}

.detail-text {
    border-left: 3px solid var(--accent-color);
    padding-left: 2rem;
}

.detail-text p {
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.detail-text p:last-child {
    margin-bottom: 0;
}

.gift-img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.note-box {
    margin-top: 3rem;
    padding: 2rem;
    border: 1px solid var(--accent-color);
    background: rgba(197, 165, 114, 0.1);
    font-style: italic;
}

/* Deontologie Section */

.deontologie-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.deontologie-container:hover {
    border-color: var(--accent-color);
}

.deontologie-container p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

input,
textarea {
    padding: 1rem;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: inherit;
    transition: var(--transition-smooth);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-secondary);
}

input:focus,
textarea:focus {
    border-color: var(--accent-color);
    outline: none;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
}

.checkbox-group input {
    width: auto;
    margin-top: 0.3rem;
}

.checkbox-group label {
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.9rem;
}

hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 2rem 0;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Testimonials */
.testimonials {
    margin-top: 8rem;
    text-align: center;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial {
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    text-align: left;
    transition: var(--transition-smooth);
}

.testimonial:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.testimonial p {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    color: var(--accent-color);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
}

/* Footer */
footer {
    padding: 4rem 10%;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: start;
}

.footer-brand {
    text-align: left;
}

.footer-brand .logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    font-size: 0.8rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
}

.footer-nav a {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.footer-nav a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    text-align: right;
}

.footer-links a {
    font-size: 0.8rem;
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.5;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: var(--transition-smooth);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-image {
        width: 40%;
    }

    .about-grid,
    .info-grid,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1.5rem 5%;
    }

    .hamburger {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: var(--header-bg);
        backdrop-filter: blur(20px);
        border-left: 1px solid var(--border-color);
        padding: 6rem 2rem 2rem;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 2rem;
    }

    nav ul li a {
        font-size: 1.1rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
        height: auto;
        padding-bottom: 5rem;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 3rem;
    }

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

    .hero-image {
        position: relative;
        width: 100%;
        height: 400px;
        mask-image: none;
        margin-top: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .intro-services {
        padding: 3rem 1.5rem;
    }

    .intro-services h2 {
        font-size: 1.8rem;
    }

    .intro-services p {
        font-size: 1rem;
    }

    .note-box {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .services-grid {
        gap: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.5rem;
        margin-top: 1.5rem;
    }

    .service-card h3,
    .service-card p,
    .service-card .price {
        padding: 0 1.5rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }

    .service-image {
        height: 200px;
    }

    .services-footer {
        grid-template-columns: 1fr;
    }

    .info-box {
        padding: 2rem;
    }

    .testimonials-container {
        grid-template-columns: 1fr;
    }

    .detail-container {
        padding: 1.5rem;
    }

    .shirotchampi-detail {
        padding: 3rem 5%;
    }

    .closing-message {
        font-size: 1.4rem;
        margin-top: 4rem;
    }

    .options-container {
        gap: 1.5rem;
    }

    footer {
        padding: 3rem 5%;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-nav {
        text-align: center;
    }

    .footer-links {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

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

    .hero-btns {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }

    section {
        padding: 5rem 5%;
    }

    .services-page .section-title {
        font-size: 1.8rem;
    }

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

    .service-image {
        height: 180px;
    }

    .intro-services {
        padding: 2rem 1rem;
    }

    .soins-optionnels {
        margin-top: 4rem;
    }

    .option {
        padding: 2rem 1.5rem;
    }

    .services-footer {
        margin-top: 4rem;
    }
}

@media (max-width: 380px) {
    .hero h1 {
        font-size: 1.8rem;
    }
}
