/* ==========================================================================
   GLOBAL LAYOUT (HEADER, FOOTER, WIDGETS)
   ========================================================================== */

/* FLOATING NAVIGATION BAR */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 15, 25, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: background var(--transition-speed), border var(--transition-speed);
}

[data-theme="light"] header {
    background: rgba(248, 250, 252, 0.6);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 5%;
}

.logo {
    font-size: 1.3rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    background: linear-gradient(135deg, var(--gold-accent), var(--primary-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color var(--transition-speed);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-accent);
    transition: width var(--transition-speed);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* TOGGLE MODE BUTTON */
.theme-switch-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-primary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-speed);
    border: 1px solid var(--glass-border);
}

.theme-switch-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold-accent);
}

[data-theme="light"] .theme-switch-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* DYNAMIC FLOATING COMMUNICATION PANEL */
.floating-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all var(--transition-speed) cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.1) rotate(5deg);
}

.floating-whatsapp {
    background-color: #25d366;
}

.floating-telegram {
    background-color: #0088cc;
}

/* RICH FOOTER */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: 70px 5% 30px 5%;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo h4 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.footer-logo h4 span {
    background: linear-gradient(135deg, var(--gold-accent), var(--primary-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-logo p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.footer-col h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-accent);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color var(--transition-speed);
}

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

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all var(--transition-speed);
}

.social-btn:hover {
    background: var(--primary-accent);
    color: #fff;
    transform: translateY(-3px);
}

.goog-te-banner-frame.skiptranslate,
.goog-te-gadget {
    display: none !important;
}

body {
    top: 0px !important;
}