/* Karam Al-Enab Restaurant - Reconstructed Elementor Post CSS */
/* Based on Wayback archive structure analysis */

/* ============================================ */
/* Global / Body */
/* ============================================ */
* { box-sizing: border-box; }
body {
    font-family: 'IBM Plex Sans Arabic', 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    direction: rtl;
    text-align: right;
    background-color: #1B331D;
    color: #ffffff;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ============================================ */
/* Elementor Base */
/* ============================================ */
.elementor-section {
    position: relative;
    width: 100%;
}
.elementor-section .elementor-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
}
.elementor-section.elementor-section-full_width > .elementor-container {
    max-width: 100%;
    padding: 0;
}
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1140px;
}
.elementor-column {
    position: relative;
    min-height: 1px;
    display: flex;
    flex-wrap: wrap;
}
.elementor-column .elementor-widget-wrap {
    width: 100%;
    position: relative;
}
.elementor-col-100 { width: 100%; }
.elementor-col-50 { width: 50%; }
.elementor-col-33 { width: 33.333%; }
.elementor-col-25 { width: 25%; }
.elementor-col-66 { width: 66.666%; }

.elementor-widget {
    position: relative;
    width: 100%;
}
.elementor-widget:not(:last-child) {
    margin-bottom: 20px;
}

/* ============================================ */
/* Header / Navigation */
/* ============================================ */
.elementor-location-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: rgba(27, 51, 29, 0.95);
    backdrop-filter: blur(10px);
    transition: background-color 0.3s;
}
.elementor-location-header .elementor-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
}

/* Logo */
.elementor-widget-theme-site-logo img,
.elementor-widget-image img.attachment-full {
    max-height: 70px;
    width: auto;
}

/* Navigation Menu */
.elementor-nav-menu--main {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}
.elementor-nav-menu--main .elementor-item {
    color: #ffffff;
    font-size: 15px;
    padding: 15px 20px;
    text-decoration: none;
    transition: color 0.3s, background-color 0.3s;
    font-weight: 500;
    white-space: nowrap;
}
.elementor-nav-menu--main .elementor-item:hover,
.elementor-nav-menu--main .elementor-item.elementor-item-active {
    color: #c8a96e;
}
.elementor-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 28px;
    color: #ffffff;
    background: none;
    border: none;
    padding: 10px;
}
.elementor-menu-toggle svg {
    width: 28px;
    height: 28px;
    fill: #ffffff;
}
.elementor-nav-menu--dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #1B331D;
    z-index: 9999;
    padding: 10px 0;
}
.elementor-nav-menu--dropdown .elementor-item {
    display: block;
    padding: 12px 30px;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Social Icons in Header */
.elementor-social-icons-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}
.elementor-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 16px;
    transition: transform 0.3s;
}
.elementor-social-icon:hover {
    transform: scale(1.1);
}

/* ============================================ */
/* Hero Section */
/* ============================================ */
#home,
.elementor-element[data-id] > .elementor-container:first-child {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.elementor-heading-title {
    margin: 0;
    padding: 0;
    line-height: 1.3;
}

h1.elementor-heading-title,
.elementor-widget-heading h1 {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'IBM Plex Sans Arabic', serif;
    margin-bottom: 20px;
}

h2.elementor-heading-title,
.elementor-widget-heading h2 {
    font-size: 36px;
    font-weight: 700;
    color: #c8a96e;
    font-family: 'IBM Plex Sans Arabic', serif;
    margin-bottom: 15px;
}

h3.elementor-heading-title,
.elementor-widget-heading h3 {
    font-size: 24px;
    font-weight: 600;
    color: #c8a96e;
    margin-bottom: 10px;
}

h4.elementor-heading-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

/* Text Editor Widget */
.elementor-widget-text-editor {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
}

/* ============================================ */
/* Buttons */
/* ============================================ */
.elementor-button-wrapper {
    display: inline-block;
}
.elementor-button {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 30px;
    background-color: #c8a96e;
    color: #1B331D;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid #c8a96e;
    cursor: pointer;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}
.elementor-button:hover {
    background-color: transparent;
    color: #c8a96e;
}
.elementor-button .elementor-button-text {
    font-size: inherit;
    font-weight: inherit;
}
.elementor-button-link {
    text-decoration: none;
}

/* ============================================ */
/* Sections Background */
/* ============================================ */
.elementor-section {
    padding: 60px 0;
}
.elementor-section[data-settings*="background"] {
    background-size: cover;
    background-position: center;
}
.elementor-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(27, 51, 29, 0.85);
}

/* ============================================ */
/* Icon List Widget */
/* ============================================ */
.elementor-icon-list-items {
    list-style: none;
    padding: 0;
    margin: 0;
}
.elementor-icon-list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 10px;
}
.elementor-icon-list-icon {
    color: #c8a96e;
    font-size: 18px;
    flex-shrink: 0;
    min-width: 24px;
}
.elementor-icon-list-icon i {
    color: #c8a96e;
}
.elementor-icon-list-text {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
}

/* ============================================ */
/* Image Widget */
/* ============================================ */
.elementor-widget-image {
    text-align: center;
}
.elementor-widget-image img {
    border-radius: 10px;
    max-width: 100%;
    height: auto;
}

/* ============================================ */
/* Divider Widget */
/* ============================================ */
.elementor-divider {
    padding: 10px 0;
}
.elementor-divider-separator {
    border-top: 1px solid rgba(200, 169, 110, 0.3);
}

/* ============================================ */
/* Google Maps */
/* ============================================ */
.elementor-widget-google_maps {
    overflow: hidden;
    border-radius: 10px;
}
.elementor-widget-google_maps iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 10px;
}

/* ============================================ */
/* Contact Form 7 */
/* ============================================ */
.wpcf7 {
    max-width: 600px;
    margin: 0 auto;
}
.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(200, 169, 110, 0.4);
    border-radius: 8px;
    background-color: rgba(255,255,255,0.05);
    color: #ffffff;
    font-size: 15px;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    transition: border-color 0.3s;
    direction: rtl;
}
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: rgba(255,255,255,0.5);
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    outline: none;
    border-color: #c8a96e;
}
.wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
}
.wpcf7-form input[type="submit"],
.wpcf7-form .wpcf7-submit {
    background-color: #c8a96e;
    color: #1B331D;
    border: none;
    padding: 14px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}
.wpcf7-form input[type="submit"]:hover {
    background-color: #b89650;
}
.wpcf7-response-output {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 5px;
    display: none;
}
.wpcf7-form input[type="hidden"] {
    display: none;
}

/* Nice Select override for form dropdowns */
.nice-select {
    background-color: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(200, 169, 110, 0.4) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 14px 18px !important;
    height: auto !important;
    line-height: 1.4 !important;
    font-family: 'IBM Plex Sans Arabic', sans-serif !important;
}
.nice-select .list {
    background-color: #1B331D !important;
    border: 1px solid rgba(200, 169, 110, 0.4) !important;
}
.nice-select .option {
    color: #ffffff !important;
}
.nice-select .option:hover {
    background-color: rgba(200, 169, 110, 0.2) !important;
}

/* ============================================ */
/* TrustIndex Reviews Widget */
/* ============================================ */
.ti-widget {
    display: block !important;
}
.ti-widget .ti-review-item {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
}
.ti-widget .ti-name {
    color: #c8a96e;
    font-weight: 600;
}
.ti-widget .ti-date {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}
.ti-widget .ti-review-content {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    line-height: 1.7;
}

/* trustindex-image custom elements - render as img */
trustindex-image {
    display: inline-block;
}
trustindex-image[data-imgurl] {
    width: attr(width px, 20px);
    height: attr(height px, 20px);
}

/* ============================================ */
/* Footer */
/* ============================================ */
footer,
.elementor-location-footer {
    background-color: #111;
    padding: 40px 0 20px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}
.elementor-location-footer a {
    color: #c8a96e;
}

/* ============================================ */
/* Responsive */
/* ============================================ */
@media (max-width: 1024px) {
    .elementor-col-50,
    .elementor-col-33,
    .elementor-col-25,
    .elementor-col-66 {
        width: 100%;
    }
    .elementor-nav-menu--main {
        display: none;
    }
    .elementor-menu-toggle {
        display: block;
    }
    h1.elementor-heading-title {
        font-size: 36px;
    }
    h2.elementor-heading-title {
        font-size: 28px;
    }
    .elementor-location-header .elementor-container {
        padding: 10px 15px;
    }
}

@media (max-width: 767px) {
    .elementor-section {
        padding: 40px 0;
    }
    h1.elementor-heading-title {
        font-size: 28px;
    }
    h2.elementor-heading-title {
        font-size: 24px;
    }
    .elementor-button {
        padding: 12px 30px;
        font-size: 14px;
    }
    .elementor-section .elementor-container {
        padding: 0 15px;
    }
}

/* ============================================ */
/* Specific Section Styling */
/* ============================================ */

/* Hero image decoration */
.elementor-widget-image img[src*="hero-decoration"],
.elementor-widget-image img[src*="logo"] {
    max-width: 250px;
    margin: 0 auto;
}

/* Food images */
.elementor-widget-image img[src*="food-"] {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Section with background pattern */
[style*="bg-pattern"] {
    background-size: cover;
    background-repeat: repeat;
}

/* Reservation section popup/modal */
#reservation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.7);
}

/* Elementor Popup */
.elementor-popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animation helpers */
.elementor-invisible {
    visibility: visible !important;
}
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.fadeInUp { animation-name: fadeInUp; }

/* Inner Section */
.elementor-inner-section {
    width: 100%;
}
.elementor-inner-section > .elementor-container {
    max-width: 100%;
}

/* Column gap */
.elementor-section .elementor-container {
    gap: 0;
}

/* Align text center for specific sections */
.elementor-widget-heading .elementor-heading-title {
    text-align: center;
}

/* Hide the hamburger icon SVG overflow */
.elementor-menu-toggle .eicon-menu-bar {
    font-size: 28px;
}

/* Links styling */
a[href^="tel:"] {
    color: #c8a96e;
    text-decoration: none;
}
a[href*="wa.me"] {
    color: #25D366;
}

/* Section spacing tweaks */
.elementor-top-section:first-child {
    padding-top: 100px;
}

/* Ensure the page body padding for fixed header */
body {
    padding-top: 0;
}
.elementor-location-header + .elementor {
    padding-top: 90px;
}

/* Fix: Force desktop nav to show, toggle to hide on desktop */
@media (min-width: 768px) {
    nav.elementor-nav-menu--main {
        display: flex !important;
    }
    .elementor-menu-toggle {
        display: none !important;
    }
    .elementor-nav-menu--dropdown {
        display: none !important;
    }
}
@media (max-width: 767px) {
    nav.elementor-nav-menu--main {
        display: none !important;
    }
    .elementor-menu-toggle {
        display: flex !important;
        width: auto !important;
        height: auto !important;
        padding: 10px !important;
    }
    .elementor-menu-toggle svg {
        width: 28px !important;
        height: 28px !important;
    }
}

/* Fix SVG icons in toggle - constrain size */
.elementor-menu-toggle {
    width: auto !important;
    height: auto !important;
}
.elementor-menu-toggle svg {
    width: 28px;
    height: 28px;
}
.e-font-icon-svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}
