/* ============================================================
   YASIR IMRAN & BROTHERS - Complete Styles
   ============================================================ */

:root {
    --gold: #d4a017;
    --gold-dark: #b8920f;
    --gold-light: #e8c84a;
    --black: #1a1a1a;
    --black-light: #2a2a2a;
    --white: #ffffff;
    --gray: #f5f5f0;
    --gray-dark: #666;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    background: var(--white);
    color: var(--black);
    padding-top: 70px;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== NAVBAR ===== */
.navbar {
    background: var(--black);
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--gold);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.logo {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.logo-line1,
.logo-line2 {
    font-size: 22px;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: 1px;
}

.logo-line3 {
    font-size: 10px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 2px;
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
    cursor: pointer;
    text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

.mobile-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gold);
}

/* ===== HERO ===== */
.hero {
    background: var(--black);
    color: var(--white);
    padding: 120px 30px 80px;
    text-align: center;
    border-bottom: 2px solid var(--gold);
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
    color: var(--gold);
}

.hero h1 span {
    color: var(--white);
}

.hero p {
    font-size: 18px;
    opacity: 0.8;
    color: #ccc;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gold);
    color: var(--black);
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(212, 160, 23, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--black);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 13px;
}

/* ===== SECTIONS ===== */
.section {
    padding: 60px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-alt {
    background: var(--gray);
}

.section-dark {
    background: var(--black);
    color: var(--white);
}

.section-title {
    font-size: 30px;
    text-align: center;
    margin-bottom: 30px;
    color: var(--black);
}

.section-title span {
    color: var(--gold);
}

.section-dark .section-title {
    color: var(--gold);
}

/* ===== GRID ===== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* ===== CARDS ===== */
.card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid #e8e8e8;
    border-top: 4px solid var(--gold);
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(212, 160, 23, 0.12);
}

.card h3 {
    color: var(--black);
    margin-bottom: 8px;
}

.card p {
    color: var(--gray-dark);
    font-size: 14px;
}

.card-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

/* ===== STATS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 900;
    color: var(--gold);
}

.stat-label {
    font-size: 14px;
    color: #888;
}

/* ===== REVIEWS ===== */
.review-card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-top: 3px solid var(--gold);
}

.stars {
    color: var(--gold);
    font-size: 18px;
    margin: 5px 0;
}

.review-author {
    font-weight: 600;
    color: var(--black);
}

/* ===== BLOG ===== */
.blog-card {
    background: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 12px;
    cursor: pointer;
    border-left: 4px solid var(--gold);
    transition: all 0.3s;
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
}

.blog-card h3 {
    color: var(--black);
}

.blog-card small {
    color: #999;
}

.blog-full {
    display: none;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.blog-card.expanded .blog-full {
    display: block;
}

.blog-card.expanded {
    background: var(--gray);
}

/* ===== SHARE BUTTONS ===== */
.share-buttons {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 6px 14px;
    border-radius: 6px;
    color: white;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s;
}

.share-btn:hover {
    opacity: 0.8;
}

.share-btn.fb {
    background: #1877f2;
}
.share-btn.tw {
    background: #1da1f2;
}
.share-btn.li {
    background: #0077b5;
}
.share-btn.wa {
    background: #25d366;
}

/* ===== FORMS ===== */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: var(--white);
    color: var(--black);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* ===== STAR RATING ===== */
.star-rating {
    display: flex;
    gap: 8px;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
}

.star-rating i {
    color: #ddd;
    transition: color 0.3s;
}

.star-rating i.active {
    color: var(--gold);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 40px 30px 20px;
    text-align: center;
    border-top: 3px solid var(--gold);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    text-align: left;
}

.footer h4 {
    color: var(--gold);
    font-size: 16px;
    margin-bottom: 12px;
}

.footer a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    line-height: 2;
}

.footer a:hover {
    color: var(--gold);
}

.footer p {
    color: #aaa;
    font-size: 14px;
    line-height: 2;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--gold);
    color: var(--black);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-top: 20px;
    font-size: 14px;
    color: #555;
    text-align: center;
}

/* ===== FLOATING BUTTONS ===== */
.floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.floating a,
.floating button {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: var(--shadow-lg);
    border: none;
    cursor: pointer;
    transition: transform 0.3s;
}

.floating a:hover,
.floating button:hover {
    transform: scale(1.1);
}

.floating .wa {
    background: #25d366;
}

.floating .call {
    background: var(--gold);
    color: var(--black);
}

.floating .chat {
    background: var(--black);
    color: var(--gold);
    border: 2px solid var(--gold);
}

/* ===== CHATBOT ===== */
.chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 360px;
    height: 480px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
}

.chatbot-header {
    background: var(--black);
    color: var(--gold);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--gold);
}

.chatbot-header button {
    background: none;
    border: none;
    color: var(--gold);
    font-size: 20px;
    cursor: pointer;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: #f8f9fa;
}

.chatbot-messages .msg {
    padding: 10px 14px;
    border-radius: 12px;
    margin-bottom: 8px;
    max-width: 85%;
    font-size: 14px;
}

.chatbot-messages .bot {
    background: white;
    box-shadow: var(--shadow);
}

.chatbot-messages .user {
    background: var(--gold);
    color: var(--black);
    margin-left: auto;
}

.chatbot-input {
    display: flex;
    padding: 12px 16px;
    border-top: 1px solid #eee;
    gap: 8px;
}

.chatbot-input input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.chatbot-input button {
    padding: 10px 20px;
    background: var(--gold);
    color: var(--black);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 32px;
    border-radius: 16px;
    max-width: 450px;
    width: 90%;
    border-top: 5px solid var(--gold);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content h3 {
    color: var(--black);
    margin-bottom: 16px;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.modal-content textarea {
    min-height: 100px;
}

/* ===== FILTER BUTTONS ===== */
.filter-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid var(--gold);
    border-radius: 50px;
    background: transparent;
    color: var(--black);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gold);
    color: var(--black);
}

/* ===== VALUES SECTION ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.value-item h4 {
    color: var(--gold);
    margin-top: 12px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 16px 0;
        gap: 12px;
    }

    .nav-links.open {
        display: flex;
    }

    .mobile-btn {
        display: block;
    }

    .logo-line1,
    .logo-line2 {
        font-size: 18px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .chatbot-window {
        width: calc(100vw - 32px);
        right: 16px;
        height: 420px;
        bottom: 90px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 20px 50px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .section {
        padding: 40px 15px;
    }

    .floating a,
    .floating button {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .stat-number {
        font-size: 30px;
    }
}