/* ============================================
   OBSCURE - Layout Styles
   All styles from _Layout.cshtml
   ============================================ */

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background: #fff;
    color: #1D1C1C;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* ============================================
   TOP BAR STYLES
   ============================================ */

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #1D1C1C;
    color: #E0DCD1;
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: none;
    z-index: 10000;
    margin-bottom: 0;
    overflow-x: hidden;
    transition: all 0.3s ease;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #AAA498;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-bar-item i {
    font-size: 0.9rem;
    color: #E0DCD1;
    flex-shrink: 0;
}

.top-bar-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #AAA498;
    text-decoration: none;
    transition: all 0.3s;
    padding: 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-bar-link:hover {
    color: #E0DCD1;
}

.top-bar-link i {
    font-size: 0.9rem;
    color: #E0DCD1;
    flex-shrink: 0;
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */

.language-switcher {
    position: relative;
    display: flex;
    align-items: center;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(224, 220, 209, 0.1);
    border: 1px solid rgba(224, 220, 209, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #E0DCD1;
}

.lang-toggle:hover {
    background: rgba(224, 220, 209, 0.2);
    border-color: rgba(224, 220, 209, 0.3);
}

.lang-toggle i {
    font-size: 1.2rem;
}

.lang-text {
    font-size: 0.85rem;
    white-space: nowrap;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    min-width: 200px;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile styles for language switcher */
@media (max-width: 992px) {
    .lang-toggle {
        background: rgba(29, 28, 28, 0.05);
        color: #1D1C1C;
        border: 1px solid rgba(29, 28, 28, 0.1);
    }
    
    .lang-toggle:hover {
        background: rgba(29, 28, 28, 0.1);
    }
}

/* ============================================
   GOOGLE TRANSLATE WIDGET
   ============================================ */

#google_translate_element {
    display: block !important;
}

#google_translate_element select {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
    color: #1D1C1C;
}

#google_translate_element select:focus {
    outline: none;
    border-color: #1D1C1C;
    box-shadow: 0 0 0 3px rgba(29, 28, 28, 0.1);
}

#google_translate_element select:hover {
    border-color: #6A6254;
}

.goog-te-combo {
    width: 100% !important;
    padding: 10px 15px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 6px !important;
    font-family: 'Cairo', sans-serif !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
    background: white !important;
    color: #1D1C1C !important;
}

.goog-te-combo:focus {
    border-color: #1D1C1C !important;
    box-shadow: 0 0 0 3px rgba(29, 28, 28, 0.1) !important;
}

/* Hide Google Translate branding */
.goog-te-banner-frame,
.goog-te-balloon-frame {
    display: none !important;
}

body {
    top: 0 !important;
}

.goog-logo-link {
    display: none !important;
}

.goog-te-gadget {
    color: transparent !important;
    font-size: 0 !important;
}

.goog-te-gadget > span {
    display: none !important;
}

.goog-te-gadget > div {
    display: block !important;
}

.goog-te-gadget img {
    display: none !important;
}

.goog-te-gadget .goog-te-combo {
    display: block !important;
}

/* ============================================
   FOOTER STYLES
   ============================================ */

.footer {
    background: #1D1C1C;
    color: #E0DCD1;
    padding: 80px 20px 30px;
    margin-top: 100px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #E0DCD1;
}

.footer-section p {
    color: #AAA498;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-section p a {
    color: #AAA498;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section p a:hover {
    color: #E0DCD1;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #AAA498;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #E0DCD1;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(224, 220, 209, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E0DCD1;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social a:hover {
    transform: translateY(-3px);
}

.footer-social a.social-facebook:hover {
    background: #1877F2;
    color: white;
}

.footer-social a.social-instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

.footer-social a.social-linkedin:hover {
    background: #0A66C2;
    color: white;
}

.footer-social a.social-twitter:hover {
    background: #1DA1F2;
    color: white;
}

.footer-newsletter form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer-newsletter input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid rgba(224, 220, 209, 0.2);
    background: transparent;
    color: #E0DCD1;
    border-radius: 5px;
}

.footer-newsletter button {
    padding: 10px 20px;
    background: #E0DCD1;
    color: #1D1C1C;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.footer-newsletter button:hover {
    background: #AAA498;
}

.footer-bottom {
    border-top: 1px solid rgba(224, 220, 209, 0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #6A6254;
}

.footer-bottom a {
    color: #6A6254;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: #E0DCD1;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 992px) {
    /* Top bar still visible on tablet */
    .top-bar {
        font-size: 0.8rem;
        padding: 8px 0;
    }
    
    .top-bar-content {
        padding: 0 15px;
        gap: 12px;
    }

    .top-bar-left,
    .top-bar-right {
        gap: 15px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* ?? HIDE TOP BAR ON MOBILE - PROFESSIONAL SOLUTION */
@media (max-width: 768px) {
    /* ????? ??? top-bar ??????? */
    .top-bar {
        display: none !important;
        visibility: hidden;
        opacity: 0;
        height: 0;
        overflow: hidden;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .lang-dropdown {
        right: -20px;
        min-width: 180px;
    }

    .footer {
        padding: 60px 15px 25px;
        margin-top: 80px;
    }

    .footer-section h3 {
        font-size: 1.2rem;
    }

    .footer-newsletter form {
        flex-direction: column;
    }

    .footer-newsletter button {
        width: 100%;
    }
}

/* Extra Small Mobile */
@media (max-width: 400px) {
    .top-bar {
        display: none !important;
    }
}
