/* ============================================
   Luxury Footer - Professional Design
   Colors: #AD8B73, #CEAB93, #E3CAA5, #FFFBE9
   ============================================ */

:root {
    --footer-dark: #1E1511;
    --footer-primary: #2D211B;
    --footer-accent: #AD8B73;
    --bg-secondary: #CEAB93;
    --accent-light: #E3CAA5;
    --accent-cream: #FFFBE9;
    --gold: #AD8B73;
    --anim-fast: cubic-bezier(0.22, 1, 0.36, 1);
    --anim-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
    font-family: var(--font-secondary, 'DecoType Naskh', Tahoma, Arial, sans-serif);
    background: #1E1511;
    color: var(--accent-cream);
}

.page-content {
    padding: 4rem 2rem;
    text-align: center;
    color: rgba(255, 251, 233, 0.3);
    min-height: 20vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   Footer Main
   ============================================ */
.luxury-footer {
    position: relative;
    background: linear-gradient(180deg, #1E1511 0%, var(--footer-primary) 15%, var(--footer-accent) 50%, var(--footer-primary) 85%, #1E1511 100%);
    overflow: hidden;
    padding-top: 0;
}

/* Wave decoration */
.footer-wave {
    color: rgba(227, 202, 165, 0.03);
    position: relative;
    height: 40px;
    overflow: hidden;
}

.footer-wave svg {
    width: 100%;
    height: 100%;
}

/* ============================================
   Footer Grid
   ============================================ */
.footer-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

/* ============================================
   Column Base
   ============================================ */
.footer-col {
    position: relative;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-cream);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-light), transparent);
    border-radius: 1px;
}

/* ============================================
   Brand Column
   ============================================ */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
    color: var(--accent-light);
}

.logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(227, 202, 165, 0.1);
    border: 1px solid rgba(227, 202, 165, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.logo-text h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent-cream);
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.8rem;
    color: var(--accent-light);
    font-weight: 400;
}

.footer-about {
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255, 251, 233, 0.6);
    margin-bottom: 1.5rem;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(227, 202, 165, 0.08);
    border: 1px solid rgba(227, 202, 165, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    transition: all 0.3s var(--anim-fast);
    text-decoration: none;
}

.social-link:hover {
    background: rgba(227, 202, 165, 0.2);
    border-color: rgba(227, 202, 165, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(227, 202, 165, 0.15);
}

/* Certifications */
.footer-certifications {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cert-badge {
    background: rgba(227, 202, 165, 0.06);
    border: 1px solid rgba(227, 202, 165, 0.12);
    border-radius: 6px;
    padding: 0.3rem 0.6rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--accent-light);
    letter-spacing: 0.5px;
}

/* ============================================
   Links Column
   ============================================ */
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links li a {
    color: rgba(255, 251, 233, 0.65);
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.3s var(--anim-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links li a::before {
    content: '◂';
    font-size: 0.6rem;
    opacity: 0;
    transform: translateX(5px);
    transition: all 0.3s ease;
    color: var(--accent-light);
}

.footer-links li a:hover {
    color: var(--accent-cream);
    padding-right: 8px;
}

.footer-links li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   Contact Column
   ============================================ */
.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: rgba(255, 251, 233, 0.7);
    font-size: 0.85rem;
}

.footer-contact li svg {
    flex-shrink: 0;
    color: var(--accent-light);
    opacity: 0.8;
}

/* Newsletter */
.footer-newsletter h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-cream);
    margin-bottom: 0.8rem;
}

.newsletter-form {
    display: flex;
    gap: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(227, 202, 165, 0.2);
}

.newsletter-form input {
    flex: 1;
    background: rgba(227, 202, 165, 0.05);
    border: none;
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
    color: var(--accent-cream);
    outline: none;
    direction: rtl;
}

.newsletter-form input::placeholder {
    color: rgba(255, 251, 233, 0.4);
}

.newsletter-btn {
    width: 42px;
    background: rgba(227, 202, 165, 0.15);
    border: none;
    color: var(--accent-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: rgba(227, 202, 165, 0.3);
}

/* ============================================
   Map Section
   ============================================ */
.footer-map {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(227, 202, 165, 0.08);
    position: relative;
}

.map-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(227, 202, 165, 0.03);
    border: 1px solid rgba(227, 202, 165, 0.08);
}

.map-svg {
    width: 100%;
    height: 160px;
    display: block;
}

.map-overlay-text {
    position: absolute;
    bottom: 12px;
    left: 16px;
    background: rgba(26, 14, 14, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(227, 202, 165, 0.15);
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    color: var(--accent-light);
}

/* ============================================
   Footer Bottom Bar
   ============================================ */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(227, 202, 165, 0.06);
    padding: 1.2rem 2rem;
    position: relative;
    z-index: 2;
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.copyright {
    font-size: 0.8rem;
    color: rgba(255, 251, 233, 0.5);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-bottom-links a {
    color: rgba(255, 251, 233, 0.6);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent-cream);
}

.divider {
    color: rgba(227, 202, 165, 0.3);
    font-size: 0.8rem;
}

.payment-methods {
    display: flex;
    gap: 0.5rem;
}

.payment-icon {
    font-size: 1.1rem;
    opacity: 0.7;
}

/* ============================================
   Decorative Particles
   ============================================ */
.footer-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(227, 202, 165, 0.3);
    border-radius: 50%;
    animation: particleFloat 6s infinite ease-in-out;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-30px) scale(1.5); opacity: 0.6; }
}

/* ============================================
   Hover Glow Effect
   ============================================ */
.footer-col::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 20px;
    background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), 
        rgba(227, 202, 165, 0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.footer-col:hover::after {
    opacity: 1;
}

/* ============================================
   Responsive
   ============================================ */

/* Tablet Landscape */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .footer-main { padding: 2rem 1.5rem 1.5rem; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-brand { text-align: center; }
    .footer-social, .footer-certifications { justify-content: center; }
    .footer-heading::after { right: 50%; transform: translateX(50%); }
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    .map-svg { height: 120px; }
}

/* Mobile */
@media (max-width: 480px) {
    .footer-main { padding: 1.5rem 1rem; }
    .footer-social { flex-wrap: wrap; }
    .footer-links { gap: 0.5rem; }
    .footer-links li a { font-size: 0.82rem; }
    .footer-contact li { font-size: 0.8rem; }
    .map-svg { height: 100px; }
    .footer-bottom { padding: 1rem; }
    .footer-bottom-links { flex-wrap: wrap; justify-content: center; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .particle { animation: none; }
    .social-link, .footer-links li a { transition: none; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #1E1511; }
::-webkit-scrollbar-thumb { background: rgba(227, 202, 165, 0.3); border-radius: 3px; }
