/* ===================================================
 * ROAYATY EXACT FOOTER STYLES
 * =================================================== */

:root {
    --gold-main: #b88a3e;
    --gold-btn: #b88339;
    --gold-btn-hover: #a0702d;
    --footer-bg: #faf8f5;
    --text-dark: #2a241e;
    --text-muted: #5e574f;
    --border-line: rgba(184, 138, 62, 0.25);
}

.roayaty-footer {
    background-color: var(--footer-bg);
    color: var(--text-dark);
    width: 100%;
    position: relative;
    font-family: inherit;
    box-sizing: border-box;
}

/* Top Horizontal Border Line */
.footer-top-line {
    width: 100%;
    height: 1px;
    background-color: var(--border-line);
}

/* Flex Container for Columns and Vertical Dividers */
.roayaty-footer-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 40px 20px 35px 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* Vertical Column Divider Lines */
.col-divider {
    width: 1px;
    background-color: var(--border-line);
    align-self: stretch;
    margin: 0 10px;
}

/* Column Base Styling */
.roayaty-footer-col {
    display: flex;
    flex-direction: column;
}

.roayaty-footer-col .footer-heading {
    color: var(--gold-main);
    font-size: 1.02rem;
    font-weight: 700;
    margin: 0 0 16px 0;
}

/* --- COLUMN 1: LOGO & SOCIALS --- */
.col-logo {
    max-width: 250px;
}

.footer-logo-link {
    text-decoration: none !important;
    display: block;
    margin-bottom: 22px;
}

.footer-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.footer-logo-svg {
    width: 48px;
    height: 48px;
}

.footer-logo-text .logo-title {
    color: var(--gold-main);
    font-size: 1.25rem;
    font-weight: 700;
    display: block;
    line-height: 1.1;
}

.footer-logo-text .logo-subtitle {
    color: var(--gold-main);
    font-size: 0.65rem;
    font-weight: 600;
    display: block;
    margin-top: 3px;
}

.roayaty-footer-socials {
    display: flex;
    gap: 8px;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border-line);
    color: var(--gold-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.social-icon:hover {
    background-color: var(--gold-main);
    color: #ffffff;
    border-color: var(--gold-main);
}

/* --- COLUMNS 2 & 3: LINKS --- */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-dark);
    font-size: 0.86rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--gold-main);
}

/* --- COLUMN 4: CONTACT --- */
.footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-size: 0.86rem;
    font-weight: 500;
}

.footer-contact-info i {
    color: var(--gold-main);
    font-size: 0.95rem;
    width: 16px;
    text-align: center;
}

.footer-contact-info a {
    color: var(--text-dark);
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.footer-contact-info a:hover {
    color: var(--gold-main);
}

/* --- COLUMN 5: NEWSLETTER --- */
.col-newsletter {
    width: 280px;
}

.newsletter-desc {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.4;
    margin: 0 0 14px 0;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e5dfd7;
    background-color: #ffffff;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-dark);
    outline: none;
    box-sizing: border-box;
}

.newsletter-input::placeholder {
    color: #b0a79d;
}

.newsletter-btn {
    width: 100%;
    padding: 10px 0;
    background-color: var(--gold-btn);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.newsletter-btn:hover {
    background-color: var(--gold-btn-hover);
}

/* --- COPYRIGHT BAR --- */
.roayaty-copyright-bar {
    border-top: 1px solid var(--border-line);
    padding: 14px 0;
}

.roayaty-copyright-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.copyright-legal-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.copyright-legal-links a {
    color: var(--text-muted);
    font-weight: 600;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.copyright-legal-links a:hover {
    color: var(--gold-main);
}

.legal-divider {
    color: var(--gold-main);
}


/* ===================================================
 * RESPONSIVE BREAKPOINTS
 * =================================================== */

@media (max-width: 1100px) {
    .roayaty-footer-container {
        flex-wrap: wrap;
        gap: 25px;
    }
    
    .col-divider {
        display: none; /* Hide vertical lines on smaller screens to prevent tight spaces */
    }

    .roayaty-footer-col {
        width: 45%;
    }
}

@media (max-width: 600px) {
    .roayaty-footer-col {
        width: 100%;
    }

    .roayaty-copyright-container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

html[dir="rtl"] .roayaty-footer-col,
body.rtl .roayaty-footer-col {
    text-align: right;
}