/* Animations */
@keyframes fadeIn {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1.2s ease-out forwards;
}

.animate-slide-in {
    animation: slideIn 1s ease-out forwards;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Styles */
.hero-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Custom Form Styles */
input:focus, textarea:focus {
    outline: none;
    border-color: #1B4D3E;
    box-shadow: 0 0 0 3px rgba(27, 77, 62, 0.1);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
}

/* Custom Card Hover Effects */
.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(27, 77, 62, 0.1);
}

/* Custom Button Styles */
.btn-primary {
    background-color: #1B4D3E;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #153830;
    transform: translateY(-2px);
}

/* Custom Section Spacing */
.section-padding {
    padding: 5rem 0;
}

/* Custom Image Styles */
.img-hover-zoom {
    overflow: hidden;
}

.img-hover-zoom img {
    transition: transform 0.3s ease;
}

.img-hover-zoom:hover img {
    transform: scale(1.1);
}

/* Custom Text Styles */
.text-gradient {
    background: linear-gradient(45deg, #1B4D3E, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Custom Border Styles */
.border-accent {
    border-color: #D4AF37;
}

/* Custom Background Patterns */
.bg-pattern {
    background-color: #F5F5F5;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%231B4D3E' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

/* Swiper Custom Styles */
.hero-slider {
    width: 100%;
    height: 100vh;
    min-height: 500px;
}

.hero-slider .swiper-slide {
    text-align: center;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-slider .swiper-slide img {
    transition: transform 12s ease;
    will-change: transform;
}

.hero-slider .swiper-slide-active img {
    transform: scale(1.1);
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: #D4AF37;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.hero-slider .swiper-button-next:after,
.hero-slider .swiper-button-prev:after {
    font-size: 24px;
    font-weight: bold;
}

.hero-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #D4AF37;
    opacity: 0.5;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: #D4AF37;
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

/* Text Shadow */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.text-shadow-lg {
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

/* Custom Button Styles */
.group:hover svg {
    transform: translateX(4px);
}

/* Custom Badge Styles */
.badge-glow {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

/* Custom Gradient Overlay */
.gradient-overlay {
    background: linear-gradient(
        45deg,
        rgba(27, 77, 62, 0.95) 0%,
        rgba(27, 77, 62, 0.8) 50%,
        rgba(139, 69, 19, 0.6) 100%
    );
}

/* Animations pour la section À propos */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse-slow {
    animation: pulse 4s ease-in-out infinite;
}

/* Effet de carte pour la section À propos */
.about-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.about-card:hover .about-icon {
    transform: scale(1.1) rotate(5deg);
}

.about-icon {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Effet de gradient pour les cartes */
.gradient-border {
    position: relative;
    z-index: 1;
}

.gradient-border::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: -2px;
    background: linear-gradient(45deg, var(--tw-gradient-stops));
    border-radius: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gradient-border:hover::before {
    opacity: 1;
} 