/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */
        :root {
            --primary-bg: #1a1a2e;
            --secondary-bg: #16213e;
            --accent-pink: #e8b4b8;
            --accent-gold: #f5c469;
            --text-primary: #f4f4f4;
            --text-secondary: #a8a8b8;
            --success-green: #67b88a;
            --card-bg: rgba(255, 255, 255, 0.05);
        }

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

        body {
            background-color: var(--primary-bg);
            color: var(--text-primary);
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            overflow-x: hidden;
        }
        
        a{
            text-decoration: none;
        }

        /* Header avec coins arrondis */
        .custom-header {
            background: linear-gradient(135deg, var(--secondary-bg) 0%, #0f3460 100%);
            padding: 1rem 2rem;
            position: fixed;
            top: 10px;
            left: 50%;
            transform: translateX(-50%);
            width: calc(100% - 40px);
            max-width: 1400px;
            border-radius: 25px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            z-index: 1000;
            backdrop-filter: blur(10px);
            background-color: rgba(22, 33, 62, 0.9);
        }

        .navbar-brand {
            font-size: 1.8rem;
            font-weight: 700;
            background: linear-gradient(45deg, var(--accent-pink), var(--accent-gold));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-link {
            color: var(--text-primary) !important;
            transition: all 0.3s ease;
            position: relative;
            padding: 0.5rem 1rem !important;
        }

        .nav-link:hover {
            color: var(--accent-pink) !important;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: var(--accent-pink);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .nav-link:hover::after {
            width: 80%;
        }

          .nav-link-custom {
            background: linear-gradient(45deg, var(--accent-pink), var(--accent-gold));
            border: none;
            padding: 12px 30px;
            font-weight: 600;
            border-radius: 50px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(232, 180, 184, 0.3);
            color: black !important;
        }

        .nav-link-custom:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(232, 180, 184, 0.4);
        }

        /* Hero Section */
        .hero {
            margin-top: 120px;
            padding: 80px 0;
            position: relative;
            overflow: hidden;
        } 

        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, var(--accent-pink) 0%, transparent 70%);
            opacity: 0.1;
            animation: float 20s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-30px) rotate(180deg); }
        }

        .hero h1 {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }

        .hero .hero-image{
            margin-top : 0%;
        }

        .hero .hero-image img{
            max-width: 100%; 
            height: auto;
        }

        .gradient-text {
            background: linear-gradient(45deg, var(--accent-pink), var(--accent-gold));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .btn-primary-custom {
            background: linear-gradient(45deg, var(--accent-pink), var(--accent-gold));
            border: none;
            padding: 12px 30px;
            font-weight: 600;
            border-radius: 50px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(232, 180, 184, 0.3);
        }

        .btn-primary-custom:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(232, 180, 184, 0.4);
        }

        .btn-secondary-custom {
            background: transparent;
            border: 2px solid var(--accent-pink);
            color: var(--accent-pink);
            padding: 12px 30px;
            font-weight: 600;
            border-radius: 50px;
            transition: all 0.3s ease;
        }

        .btn-secondary-custom:hover {
            background: var(--accent-pink);
            color: var(--primary-bg);
        }

        /* Section About */
        .about-section {
            padding: 80px 0;
            background: linear-gradient(180deg, transparent 0%, rgba(22, 33, 62, 0.5) 100%);
        }

        .feature-box {
            background: var(--card-bg);
            border: 1px solid rgba(232, 180, 184, 0.2);
            border-radius: 20px;
            padding: 30px;
            height: 100%;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .feature-card:hover {
            transform: translateY(-5px);
            border-color: var(--accent-pink);
            box-shadow: 0 10px 30px rgba(232, 180, 184, 0.2);
        }

        .feature-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(45deg, var(--accent-pink), var(--accent-gold));
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            font-size: 1.5rem;
        }

        /* Recent Memorials Carousel */
        .memorials-section {
            padding: 80px 0;
            position: relative;
        }

        .carousel-controls {
            display: flex;
            gap: 10px;
        }

        .carousel-btn {
            background: var(--card-bg);
            border: 1px solid rgba(232, 180, 184, 0.3);
            color: var(--accent-pink);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .carousel-btn:hover {
            background: var(--accent-pink);
            color: var(--primary-bg);
        }

        .carousel-container {
            overflow: hidden;
            position: relative;
            width: 100%;
            padding: 20px 0;
            border-radius: 20px;
        }

        .carousel-track {
            display: flex;
            transition: transform 0.5s ease;
            gap: 20px;
        }

        .carousel-item {
            flex: 0 0 calc(33.333% - 14px);
            min-height: 400px;
        }

        .memorial-card {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cdefs%3E%3ClinearGradient id='g1' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%234a4a5e'/%3E%3Cstop offset='100%25' stop-color='%231a1a2e'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='400' height='400' fill='url(%23g1)'/%3E%3C/svg%3E");
            background-size: cover;
            border-radius: 20px;
            overflow: hidden;
            transition: all 0.3s ease;
            height: 400px;
            position: relative;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(232, 180, 184, 0.2);
        }
        
        .memorial-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to top, rgba(26, 26, 46, 0.95) 0%, rgba(26, 26, 46, 0.8) 30%, rgba(26, 26, 46, 0.4) 60%, transparent 100%);
            z-index: 1;
        }

        .memorial-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
            border-color: rgba(232, 180, 184, 0.4);
        }

        .memorial-info {
            position: relative;
            padding: 30px;
            z-index: 3;
            color: var(--text-primary);
        }

        .memorial-name {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 10px;
            color: var(--text-primary);
        }

        .memorial-dates {
            color: var(--accent-gold);
            font-size: 0.95rem;
            margin-bottom: 10px;
        }

        .memorial-description {
            color: var(--text-secondary);
            font-size: 0.9rem;
            line-height: 1.4;
        }

        .donation-badge {
            position: absolute;
            top: 20px;
            right: 20px;
            background: var(--success-green);
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            z-index: 4;
        }

        /* Services Section */
        .services-section {
            padding: 80px 0;
            background: linear-gradient(180deg, rgba(22, 33, 62, 0.5) 0%, transparent 100%);
        }

        .service-box {
            background: linear-gradient(135deg, var(--card-bg) 0%, rgba(232, 180, 184, 0.1) 100%);
            border-radius: 25px;
            padding: 40px;
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid transparent;
        }

        .service-box:hover {
            border-color: var(--accent-gold);
            transform: scale(1.05);
        }

        /* Testimonials */
        .testimonials-section {
            padding: 80px 0;
        }

        .testimonial-card {
            background: var(--card-bg);
            border-radius: 20px;
            padding: 30px;
            position: relative;
            border: 1px solid rgba(245, 196, 105, 0.2);
        }

        .quote-icon {
            font-size: 3rem;
            color: var(--accent-gold);
            opacity: 0.3;
            position: absolute;
            top: 20px;
            left: 20px;
        }

        /* CTA Section */
        .cta-section {
            padding: 100px 0;
            background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--primary-bg) 100%);
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 800px;
            height: 800px;
            background: radial-gradient(circle, var(--accent-gold) 0%, transparent 70%);
            opacity: 0.05;
            transform: translate(-50%, -50%);
        }

        /* Footer */
        footer {
            background: var(--secondary-bg);
            padding: 60px 0 30px;
            margin-top: 80px;
        }

        .footer-logo {
            font-size: 2rem;
            font-weight: 700;
            background: linear-gradient(45deg, var(--accent-pink), var(--accent-gold));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 20px;
        }

        .social-links a {
            display: inline-block;
            width: 40px;
            height: 40px;
            background: var(--card-bg);
            border-radius: 50%;
            text-align: center;
            line-height: 40px;
            margin-right: 10px;
            color: var(--text-primary);
            transition: all 0.3s ease;
        }

        .social-links a:hover {
            background: var(--accent-pink);
            color: var(--primary-bg);
        }

        /* Animations */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            animation: fadeIn 0.8s ease forwards;
        }

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

        .carousel-container {
            overflow: hidden;
            position: relative;
            width: 100%;
            padding: 20px 0;
        }

        .carousel-track {
            display: flex;
            transition: transform 0.5s ease;
            gap: 20px;
            min-height: 420px;
        }

        .carousel-item {
            flex: 0 0 calc(33.333% - 14px);
            min-height: 400px;
        }

        .dashboard-feature-box {
            background: var(--card-bg);
            border: 1px solid rgba(232, 180, 184, 0.2);
            border-radius: 20px;
            padding: 30px;
            height: auto;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            color: white !important;
        }

        @media (max-width: 991px) {
            .hero .hero-image{
            margin-top : 0%;
        }

        .hero .hero-image img{
            max-width: 100%; 
            height: auto;
        }
            .carousel-item {
                flex: 0 0 calc(50% - 10px);
            }
            
            .center-image-container {
                max-width: 200px;
            }
        }

        @media (max-width: 576px) {
            .carousel-item {
                flex: 0 0 calc(100% - 40px);
                margin: 0 20px;
            }
            
            .hero h1 {
                font-size: 2.5rem;
            }

            .hero .hero-image{
            margin-top : 0%;
        }

        .hero .hero-image img{
            max-width: 100%; 
            height: auto;
        }
            
            .custom-header {
                width: calc(100% - 20px);
                top: 5px;
            }
            
            .feature-box {
                text-align: center !important;
            }
            
            .feature-box .d-flex {
                justify-content: center !important;
            }
            
            .d-flex.carousel-header {
                flex-direction: column !important;
                text-align: center;
            }
            
            .carousel-header h2 {
                margin-bottom: 1rem !important;
            }
            
            .carousel-track {
                gap: 0;
            }
        }

        @media (min-width: 320px) and (max-width: 430px) {

        /* Hero Section */
        .hero {
            margin-top: 30px;
            padding: 80px 0;
            position: relative;
            overflow: hidden;
        } 

        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, var(--accent-pink) 0%, transparent 70%);
            opacity: 0.1;
            animation: float 20s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-30px) rotate(180deg); }
        }

        .hero h1 {
            font-size: 30px;
            font-weight: 700;
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }

        .hero .lead{
            font-size: 16px;
        }

        .hero .hero-image{
            margin-top : 5%;
        }

        .hero .hero-image img{
            max-width: 100%; 
            height: auto;
        }

        .about-section {
            margin-top: 30px;
            padding: 80px 0;
            background: linear-gradient(180deg, transparent 0%, rgba(22, 33, 62, 0.5) 100%);
        }

        .about-section .lead{
            font-size: 14px !important;
        }

        .display-4{
            font-size: 28px !important;
        }

        .feature-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(45deg, var(--accent-pink), var(--accent-gold));
            border-radius: 15px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            font-size: 1.5rem;
        }
        


        }