/* Custom styles for Le Petite Fleur */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Hover effects */
.hover-lift:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* Custom gradient backgrounds */
.gradient-primary {
    background: linear-gradient(135deg, #d5dfc8 0%, #a8c49a 100%);
}

.gradient-light {
    background: linear-gradient(135deg, #e8f2e4 0%, #d5dfc8 100%);
}

/* Image placeholder styles */
.image-placeholder {
    background: linear-gradient(45deg, #d5dfc8 25%, transparent 25%),
        linear-gradient(-45deg, #d5dfc8 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #d5dfc8 75%),
        linear-gradient(-45deg, transparent 75%, #d5dfc8 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    opacity: 0.1;
}

/* Custom button styles */
.btn-primary {
    background-color: #d5dfc8;
    color: white;
    padding: 12px 24px;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #a8c49a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(195, 214, 187, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #5a6b54;
    padding: 12px 24px;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #5a6b54;
    cursor: pointer;
}

.btn-outline:hover {
    background-color: #5a6b54;
    color: white;
    transform: translateY(-2px);
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #d5dfc8;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Mobile menu transition */
#mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, #d5dfc8 0%, #a8c49a 100%);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    padding: 80px 30px 30px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

#mobile-menu.show {
    right: 0;
}

#mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#mobile-menu li {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.3s ease;
}

#mobile-menu.show li {
    opacity: 1;
    transform: translateX(0);
}

#mobile-menu.show li:nth-child(1) {
    transition-delay: 0.1s;
}

#mobile-menu.show li:nth-child(2) {
    transition-delay: 0.15s;
}

#mobile-menu.show li:nth-child(3) {
    transition-delay: 0.2s;
}

#mobile-menu.show li:nth-child(4) {
    transition-delay: 0.25s;
}

#mobile-menu.show li:nth-child(5) {
    transition-delay: 0.3s;
}

#mobile-menu.show li:nth-child(6) {
    transition-delay: 0.35s;
}

#mobile-menu a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    padding: 15px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

#mobile-menu a:hover,
#mobile-menu a.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Mobile menu overlay */
#mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

#mobile-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Hamburger menu animation */
.hamburger {
    width: 24px;
    height: 24px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #5a6b54;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
}

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

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

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

/* Mobile menu close button */
.mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Card hover effects */
.card {
    transition: all 0.3s ease;
}

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

/* Form styles */
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #d5dfc8;
    box-shadow: 0 0 0 3px rgba(195, 214, 187, 0.1);
}

.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.3s ease;
}

.form-textarea:focus {
    outline: none;
    border-color: #d5dfc8;
    box-shadow: 0 0 0 3px rgba(195, 214, 187, 0.1);
}

/* Responsive utilities */
@media (max-width: 768px) {
    .text-responsive {
        font-size: 1.5rem;
    }

    .hero-responsive {
        font-size: 2.5rem;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #d5dfc8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8c49a;
}

/* Mobile menu scrollbar */
#mobile-menu::-webkit-scrollbar {
    width: 4px;
}

#mobile-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

#mobile-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

.google-map {
    height: 100%;
     width: 100%;
}

.google-map iframe {
    height: 100%;
    width: 100%;
    border: 0;
}