/* ============================================
   FOOTER.CSS - FleursMemories Footer Styles
   Untuk digunakan di index.html dan index.php
   ============================================ */

/* Import Playfair Display font */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ============================================
   FOOTER BASE STYLES
   ============================================ */

.font-playfair {
    font-family: 'Playfair Display', serif !important;
}

footer.bg-black {
    background-color: #000000 !important;
    color: #ffffff !important;
    margin-top: 4rem !important;
}

/* Pastikan background benar-benar hitam pekat */
footer {
    background: #000000 !important;
    background-color: #000000 !important;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

footer .max-w-7xl {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

footer .mx-auto {
    margin-left: auto;
    margin-right: auto;
}

footer .px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

footer .py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* ============================================
   GRID SYSTEM
   ============================================ */

footer .grid {
    display: grid;
}

footer .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

footer .gap-8 {
    gap: 2rem;
}

/* ============================================
   FLEXBOX UTILITIES
   ============================================ */

footer .flex {
    display: flex;
}

footer .items-start {
    align-items: flex-start;
}

footer .items-center {
    align-items: center;
}

footer .justify-between {
    justify-content: space-between;
}

footer .justify-center {
    justify-content: center;
}

footer .gap-3 {
    gap: 0.75rem;
}

footer .gap-4 {
    gap: 1rem;
}

footer .gap-6 {
    gap: 1.5rem;
}

footer .flex-shrink-0 {
    flex-shrink: 0;
}

footer .flex-col {
    flex-direction: column;
}

/* ============================================
   SIZING UTILITIES
   ============================================ */

footer .w-24 {
    width: 6rem;
}

footer .h-24 {
    height: 6rem;
}

footer .w-10 {
    width: 2.5rem;
}

footer .h-10 {
    height: 2.5rem;
}

footer .w-5 {
    width: 1.25rem;
}

footer .h-5 {
    height: 1.25rem;
}

footer .mt-16 {
    margin-top: 4rem;
}

/* ============================================
   IMAGE & OBJECT FIT
   ============================================ */

footer .object-contain {
    object-fit: contain;
}

footer .object-cover {
    object-fit: cover;
}

/* ============================================
   BORDER RADIUS
   ============================================ */

footer .rounded-lg {
    border-radius: 0.5rem;
}

footer .rounded-full {
    border-radius: 9999px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

footer .text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

footer .text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

footer .font-bold {
    font-weight: 700;
}

footer .text-white {
    color: #ffffff !important;
}

footer .text-gray-300 {
    color: #d1d5db !important;
}

footer .text-gray-400 {
    color: #9ca3af !important;
}

/* Tambahan untuk memastikan warna text konsisten */
footer {
    color: #ffffff !important;
}

footer * {
    border-color: #1f2937 !important;
}

footer .leading-relaxed {
    line-height: 1.625;
}

footer .text-center {
    text-align: center;
}

footer .italic {
    font-style: italic;
}

/* ============================================
   SPACING UTILITIES
   ============================================ */

footer .mb-2 {
    margin-bottom: 0.5rem;
}

footer .mb-4 {
    margin-bottom: 1rem;
}

footer .mt-6 {
    margin-top: 1.5rem;
}

footer .mt-8 {
    margin-top: 2rem;
}

footer .mt-0\.5 {
    margin-top: 0.125rem;
}

footer .mr-3 {
    margin-right: 0.75rem;
}

footer .pt-6 {
    padding-top: 1.5rem;
}

/* ============================================
   COLORS & BACKGROUNDS
   ============================================ */

footer .bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

footer .hover\:bg-pink-500:hover {
    background-color: #ec4899 !important;
    transform: translateY(-3px);
}

/* Pastikan social icons memiliki background yang terlihat di atas hitam */
footer a[href*="instagram"],
footer a[href*="wa.me"],
footer a[href*="whatsapp"] {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* ============================================
   TRANSITIONS & ANIMATIONS
   ============================================ */

footer .transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

footer .duration-300 {
    transition-duration: 300ms;
}

/* ============================================
   LIST STYLES
   ============================================ */

footer ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

footer .space-y-4>*+* {
    margin-top: 1rem;
}

/* ============================================
   BORDERS
   ============================================ */

footer .border-t {
    border-top-width: 1px;
}

footer .border-gray-800 {
    border-color: #1f2937 !important;
}

/* Border bottom yang lebih gelap */
footer .border-t {
    border-top: 1px solid #1f2937 !important;
}

/* ============================================
   LINKS
   ============================================ */

footer a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

footer a:hover {
    color: inherit;
}

/* Social Media Icons Specific Styles */
footer a[href*="instagram"],
footer a[href*="wa.me"],
footer a[href*="whatsapp"] {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   RESPONSIVE DESIGN - TABLET (768px and up)
   ============================================ */

@media (min-width: 768px) {
    footer .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    footer .md\:flex-row {
        flex-direction: row;
    }

    footer .md\:text-left {
        text-align: left;
    }

    footer .md\:text-end {
        text-align: right;
    }

    footer .md\:mb-0 {
        margin-bottom: 0;
    }
}

/* ============================================
   RESPONSIVE DESIGN - DESKTOP (1024px and up)
   ============================================ */

@media (min-width: 1024px) {
    footer .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    footer .lg\:col-span-2 {
        grid-column: span 2 / span 2;
    }
}

/* ============================================
   MOBILE RESPONSIVE (max-width: 767px)
   ============================================ */

@media (max-width: 767px) {
    footer .px-6 {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    footer .py-12 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    footer .gap-8 {
        gap: 1.5rem;
    }

    footer .text-center {
        text-align: center;
    }

    footer .justify-center {
        justify-content: center;
    }
}

/* ============================================
   ADDITIONAL UTILITY CLASSES
   ============================================ */

footer .d-flex {
    display: flex;
}

footer .align-items-start {
    align-items: flex-start;
}

footer .align-items-center {
    align-items: center;
}

footer .text-decoration-none {
    text-decoration: none;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    footer {
        page-break-before: always;
    }
}