/* Mfariji Services - Marketing Site Styles */
/* Elegant, professional funeral service design */

:root {
    /* Brand Colors - Elegant & Refined */
    --color-gold: #D4A843;
    --color-gold-dark: #B8942F;
    --color-gold-light: #E8C875;
    --color-charcoal: #2C3E50;
    --color-charcoal-light: #34495E;
    --color-silver: #A8B2B9;
    --color-cream: #F5F5F0;
    --color-white: #FFFFFF;
    
    /* Typography - Professional & Elegant */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing - Refined */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Shadows - Subtle & Elegant */
    --shadow-sm: 0 2px 8px rgba(44, 62, 80, 0.08);
    --shadow-md: 0 4px 16px rgba(44, 62, 80, 0.12);
    --shadow-lg: 0 8px 24px rgba(44, 62, 80, 0.16);
    --shadow-gold: 0 4px 12px rgba(212, 168, 67, 0.25);
    
    /* Transitions - Smooth & Professional */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Base Typography - Refined & Elegant */
body {
    font-family: var(--font-body);
    color: var(--color-charcoal);
    line-height: 1.7;
    font-size: 1rem;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--color-charcoal);
    margin-bottom: var(--spacing-sm);
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-charcoal);
    letter-spacing: -0.01em;
    transition: color var(--transition-base);
}

.brand-text:hover {
    color: var(--color-gold);
}

/* Utility Classes */
.text-gold { color: var(--color-gold) !important; }
.bg-gold { background-color: var(--color-gold) !important; }
.bg-cream { background-color: var(--color-cream); }
.bg-charcoal { background-color: var(--color-charcoal) !important; }

/* Buttons - Elegant & Refined */
.btn-gold {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-white);
    font-weight: 600;
    padding: 0.875rem 2.25rem;
    border-radius: 6px;
    letter-spacing: 0.02em;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    border: none;
}

.btn-gold:hover {
    background-color: var(--color-gold-dark);
    border-color: var(--color-gold-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-gold:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-outline-gold {
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    font-weight: 600;
    padding: 0.875rem 2.25rem;
    border-radius: 6px;
    background: transparent;
    letter-spacing: 0.02em;
    transition: all var(--transition-base);
}

.btn-outline-gold:hover {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* Navigation - Refined & Professional */
.navbar {
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-sm) 0;
    background-color: var(--color-white) !important;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--color-charcoal);
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 0.5rem 1.25rem;
    transition: all var(--transition-base);
    position: relative;
}

.navbar-light .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--color-gold);
}

.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after {
    width: 60%;
}

/* ==================== */
/* JUMBOTRON CAROUSEL   */
/* Elegant Hero Section */
/* ==================== */
#heroCarousel {
    position: relative;
    overflow: hidden;
}

.carousel-item {
    height: 650px;
    position: relative;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: var(--color-charcoal);
    transition: transform var(--transition-slow);
}

.carousel-item:hover .carousel-image {
    transform: scale(1.05);
}

.carousel-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(44, 62, 80, 0.4) 0%,
        rgba(44, 62, 80, 0.6) 100%
    );
}

.carousel-caption {
    background: rgba(44, 62, 80, 0.88);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: 12px;
    bottom: 15%;
    left: 10%;
    right: 10%;
    text-align: center;
    border: 1px solid rgba(212, 168, 67, 0.2);
    box-shadow: var(--shadow-lg);
}

.carousel-caption h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.carousel-caption .lead {
    font-size: 1.375rem;
    margin-bottom: var(--spacing-md);
    font-weight: 300;
    letter-spacing: 0.01em;
    line-height: 1.6;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--color-gold);
    border-radius: 50%;
    padding: 1.25rem;
    width: 50px;
    height: 50px;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: var(--color-gold-dark);
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

/* ==================== */
/* GALLERY CARDS        */
/* Elegant Product Display */
/* ==================== */
.gallery-card {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-base);
    background-color: var(--color-white);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.gallery-img {
    height: 280px;
    object-fit: cover;
    transition: transform var(--transition-slow);
    width: 100%;
}

.gallery-img-sm {
    height: 200px;
    object-fit: cover;
    transition: transform var(--transition-slow);
    width: 100%;
}

.gallery-card:hover .gallery-img,
.gallery-card:hover .gallery-img-sm {
    transform: scale(1.08);
}

.gallery-placeholder {
    height: 280px;
    background: linear-gradient(135deg, var(--color-cream) 0%, #E8E8E0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    opacity: 0.6;
}

.gallery-placeholder-sm {
    height: 200px;
    background: linear-gradient(135deg, var(--color-cream) 0%, #E8E8E0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    opacity: 0.6;
}

/* Price Badge - Elegant Display */
.price-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: var(--color-white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: 0.02em;
    box-shadow: var(--shadow-sm);
    margin-top: var(--spacing-xs);
}

/* Section Title - Refined Typography */
.section-title {
    position: relative;
    padding-bottom: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    font-size: 2.25rem;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    border-radius: 2px;
}

/* Service Cards (Homepage) - Elegant Icons */
.service-card {
    border: none;
    transition: all var(--transition-base);
    border-radius: 12px;
    padding: var(--spacing-md);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    background-color: var(--color-white);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    transition: transform var(--transition-base);
    display: inline-block;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

/* Forms - Refined Input Fields */
.form-control,
.form-select {
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all var(--transition-base);
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 168, 67, 0.15);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: var(--spacing-xs);
    letter-spacing: 0.01em;
    font-size: 0.95rem;
}

/* Footer - Elegant & Refined */
.footer {
    background-color: var(--color-charcoal);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer a {
    text-decoration: none;
    transition: color var(--transition-base);
    color: var(--color-silver);
}

.footer a:hover {
    color: var(--color-gold) !important;
}

.footer h5 {
    color: var(--color-gold);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

/* Responsive - Mobile Elegance */
@media (max-width: 768px) {
    .carousel-item {
        height: 500px;
    }
    
    .carousel-caption {
        bottom: 10%;
        left: 5%;
        right: 5%;
        padding: var(--spacing-md);
        border-radius: 8px;
    }
    
    .carousel-caption h1 {
        font-size: 1.75rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .carousel-caption .lead {
        font-size: 1.125rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .gallery-img,
    .gallery-placeholder {
        height: 220px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn-gold,
    .btn-outline-gold {
        padding: 0.75rem 1.75rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        height: 450px;
    }
    
    .carousel-caption h1 {
        font-size: 1.5rem;
    }
    
    .carousel-caption .lead {
        font-size: 1rem;
    }
}
