/* ========================================
   ABDULZAHIR ENTERPRISES - MAIN STYLESHEET
   Colors: #0d2b1f (primary), #ffd700 (gold)
   ======================================== */

/* ---------- IMPORTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ---------- FONT FACE (with font-display: swap) ---------- */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2') format('woff2');
}

/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0d2b1f;
    --primary-dark: #071a12;
    --primary-light: #1a4d36;
    --gold: #ffd700;
    --gold-dark: #e6c200;
    --gold-light: #ffe44d;
    --gray-light: #f8fafc;
    --gray-medium: #e2e8f0;
    --gray-dark: #64748b;
    --white: #ffffff;
    --black: #0f172a;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 8px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--black);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary);
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }
h6 { font-size: 18px; }

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
}

.section-title p {
    color: var(--gray-dark);
    max-width: 600px;
    margin: 10px auto 0;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    min-height: 44px;
    min-width: 44px;
}

.btn-primary {
    background: var(--gold);
    color: var(--primary);
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--primary);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* ---------- HEADER / NAVIGATION ---------- */
.header {
    background: var(--primary);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 20px;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 20px;
    color: var(--primary);
}

.logo-text {
    font-weight: 800;
    font-size: 20px;
    line-height: 1.2;
}

.logo-text span {
    color: var(--gold);
}

.logo-text small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    opacity: 0.8;
}

/* Navigation */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
    min-height: 44px;
    min-width: 44px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nav-menu a {
    padding: 8px 16px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    position: relative;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255, 215, 0, 0.15);
    color: var(--gold);
}

.nav-menu .dropdown {
    position: relative;
}

.nav-menu .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary);
    min-width: 220px;
    border-radius: var(--radius);
    padding: 8px 0;
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--gold);
}

.nav-menu .dropdown:hover .dropdown-menu {
    display: block;
}

.nav-menu .dropdown-menu a {
    padding: 10px 20px;
    font-size: 14px;
}

.nav-menu .dropdown-menu a:hover {
    background: rgba(255, 215, 0, 0.1);
}

/* Language Toggle */
.lang-toggle {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 4px;
}

.lang-toggle button {
    background: none;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    color: var(--white);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    min-height: 36px;
}

.lang-toggle button.active {
    background: var(--gold);
    color: var(--primary);
}

.lang-toggle button:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
}

/* ---------- HERO SECTION ---------- */
.hero {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 50%;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    color: var(--white);
    font-size: 52px;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--gold);
}

.hero-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary {
    background: var(--gold);
    color: var(--primary);
}

.hero-buttons .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.hero-buttons .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.trust-badges .badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    opacity: 0.9;
}

.trust-badges .badge i {
    color: var(--gold);
    font-size: 20px;
}

/* ---------- PRODUCT CARDS ---------- */
.products-section {
    padding: 80px 0;
    background: var(--gray-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--gold);
}

.product-card .icon {
    font-size: 48px;
    color: var(--gold);
    margin-bottom: 16px;
}

.product-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.product-card p {
    color: var(--gray-dark);
    font-size: 14px;
    margin-bottom: 16px;
}

.product-card .btn {
    font-size: 14px;
    padding: 10px 24px;
}

/* ---------- ABOUT SECTION ---------- */
.about-section {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    background: var(--gray-light);
    border-radius: var(--radius);
    padding: 60px 40px;
    text-align: center;
    border: 2px dashed var(--gold);
}

.about-image i {
    font-size: 80px;
    color: var(--gold);
}

.about-image h3 {
    margin-top: 16px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--gray-light);
    border-radius: var(--radius);
}

.stat-item .number {
    font-size: 32px;
    font-weight: 800;
    color: var(--gold);
}

.stat-item .label {
    font-size: 14px;
    color: var(--gray-dark);
}

/* ---------- CTA SECTION ---------- */
.cta-section {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h4 {
    color: var(--gold);
    font-size: 18px;
    margin-bottom: 16px;
}

.footer p,
.footer a {
    font-size: 14px;
    opacity: 0.8;
    line-height: 2;
}

.footer a:hover {
    color: var(--gold);
    opacity: 1;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 18px;
    transition: var(--transition);
    min-height: 44px;
    min-width: 44px;
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}

.footer-bottom .backlinks {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom .backlinks a {
    color: var(--gold);
    font-size: 13px;
}

/* ---------- FLOATING BUTTONS ---------- */
.floating-buttons {
    position: fixed;
    bottom: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-buttons.left {
    left: 24px;
}

.floating-buttons.right {
    right: 24px;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn.whatsapp {
    background: #25D366;
}

.floating-btn.quote {
    background: var(--gold);
    color: var(--primary);
}

/* ---------- POPUPS ---------- */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.popup-overlay.active {
    display: flex;
}

.popup {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 480px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: popupIn 0.3s ease;
}

@keyframes popupIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--gray-dark);
    cursor: pointer;
    padding: 4px 8px;
    min-height: 44px;
    min-width: 44px;
}

.popup h3 {
    color: var(--primary);
    margin-bottom: 8px;
}

.popup p {
    color: var(--gray-dark);
    font-size: 14px;
    margin-bottom: 20px;
}

.popup .form-group {
    margin-bottom: 16px;
}

.popup .form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.popup .form-group input,
.popup .form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--gray-medium);
    border-radius: var(--radius);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

.popup .form-group input:focus,
.popup .form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.popup .form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
    h1 { font-size: 36px; }
    h2 { font-size: 30px; }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .trust-badges {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 16px 0;
        gap: 4px;
    }
    
    .nav-menu.open {
        display: flex;
    }
    
    .nav-menu a {
        width: 100%;
        justify-content: center;
    }
    
    .nav-menu .dropdown-menu {
        position: static;
        background: rgba(255, 255, 255, 0.05);
        border-top: none;
        padding-left: 20px;
    }
    
    .lang-toggle {
        width: 100%;
        justify-content: center;
    }
    
    .hero {
        padding: 60px 0 80px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .about-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .floating-buttons.left {
        left: 12px;
        bottom: 12px;
    }
    
    .floating-buttons.right {
        right: 12px;
        bottom: 12px;
    }
    
    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .popup {
        padding: 24px;
        margin: 10px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}