/* assets/css/style.css */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {

    --bg-body: #ffffff;
    --bg-card: #f5f5f5;

    --text-primary: #222222;
    --text-secondary: #666666;

    --primary-gold: #c8a44d;
    --gold-light: #e0c36e;
    --dark-gold: #b38f37;

    --trend-up: #10b981;
    --trend-down: #ef4444;

    --border-color: #e5e5e5;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.08);

    --radius-md: 12px;
    --radius-lg: 16px;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;

    --container-max: 1200px;
}

/* DARK THEME */

[data-theme='dark'] {

    --bg-body: #111827;
    --bg-card: #1f2937;

    --text-primary: #ffffff;
    --text-secondary: #d1d5db;

    --border-color: #374151;
}

/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    font-size:14px;
}

body{

    font-family:var(--font-body);

    background:var(--bg-body);

    color:var(--text-primary);

    -webkit-font-smoothing:antialiased;

    transition:0.3s;
}

/* UTILITIES */

.container{

    width:100%;
    max-width:var(--container-max);

    margin:0 auto;

    padding:0 20px;
}

h1,h2,h3,h4,h5,h6{

    font-family:var(--font-heading);

    font-weight:700;

    color:var(--text-primary);
}

a{

    text-decoration:none;

    color:inherit;

    transition:0.3s;    font-size: 16px;
}

a:hover{
    color:var(--primary-gold);
}

.text-gold{
    color:var(--primary-gold);
}

.text-muted{
    color:var(--text-secondary);
}

/* =========================
   HEADER
========================= */

.main-header{
    width:100%;
    background:linear-gradient(135deg, #212116, #ebb12b);
    position:sticky;
    top:0;
    z-index:99999;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
      height: 120px;
}

.header-wrapper{
    display:flex;
    align-items:center;
    justify-content:space-between;
    
}

/* =========================
   LOGO
========================= */

/* .logo img{
    height:100px;
}*/

/* =========================
   MENU
========================= */

.navbar{
    transition:0.3s;
}

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

.nav-links li a{
    text-decoration:none;
    color:#fff;
    font-size:16px;
    font-weight:600;
    transition:0.3s;
}

.nav-links li a:hover{
    color:#d4a017;
}

/* =========================
   HEADER ACTIONS
========================= */

.header-actions{
    display:flex;
    align-items:center;
    gap:15px;
}

.theme-toggle,
.menu-toggle{
    background:none;
    border:none;
    font-size:22px;
    cursor:pointer;
    color:#111;
}

/* HIDE MOBILE BUTTON DESKTOP */

.menu-toggle{
    display:none;
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    .menu-toggle{
        display:block;
    }

    /*.logo img{
        height:45px;
    }*/

    /* MOBILE MENU STYLE */

    .navbar{
        position:absolute;
        top:75px;
        left:0;
        width:100%;
        background:#fff;
        box-shadow:0 5px 15px rgba(0,0,0,0.1);

        max-height:0;
        overflow:hidden;
    }

    .navbar.active{
        max-height:400px;
    }

    .nav-links{
        flex-direction:column;
        align-items:flex-start;
        gap:0;
        padding:10px 20px;
    }

    .nav-links li{
        width:100%;
    }

    .nav-links li a{
        display:block;
        width:100%;
        padding:14px 0;
        border-bottom:1px solid #eee;
    }

}

/* MAIN LAYOUT */

.layout{

    display:grid;

    grid-template-columns:1fr 300px;

    gap:30px;

    margin-top:40px;
    margin-bottom:60px;
}

@media(max-width:900px){

    .layout{
        grid-template-columns:1fr;
    }
}

/* CARDS */

.card{

    background:var(--bg-card);

    border-radius:14px;

    padding:25px;

    border:1px solid var(--border-color);

    box-shadow:var(--shadow-sm);

    margin-bottom:25px;

    transition:0.3s;
}

.card:hover{

    transform:translateY(-3px);

    box-shadow:var(--shadow-lg);
}

/* SECTION HEADER */

.section-header{

    margin-bottom:20px;

    border-bottom:2px solid var(--primary-gold);

    padding-bottom:10px;

    display:inline-block;

    color:var(--text-primary);
}

/* RATE GRID */

.rate-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));

    gap:20px;

    margin-bottom:30px;
}

.rate-item{

    text-align:center;

    padding:20px;

    background:#ffffff;

    border-radius:var(--radius-md);

    border:1px solid var(--border-color);

    box-shadow:var(--shadow-sm);

    transition:0.3s;
}

.rate-item:hover{
    transform:translateY(-3px);
}

.rate-item h4{

    font-size:0.9rem;

    color:var(--text-secondary);

    text-transform:uppercase;

    letter-spacing:1px;

    margin-bottom:10px;
}

.rate-item .price{

    font-size:2rem;

    font-weight:700;

    color:var(--text-primary);

    margin-bottom:5px;
}

.trend{

    font-size:0.9rem;

    font-weight:500;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:5px;
}

.trend.up{
    color:var(--trend-up);
}

.trend.down{
    color:var(--trend-down);
}

/* TABLES */

table{

    width:100%;

    border-collapse:collapse;

    margin-bottom:10px;

    background:#ffffff;

    border-radius:10px;

    overflow:hidden;

    box-shadow:var(--shadow-sm);
}

table th,
table td{

    padding:14px 15px;

    text-align:left;

    border-bottom:1px solid var(--border-color);
}

table th{

    background:#fafafa;

    font-weight:600;

    color:var(--text-secondary);

    text-transform:uppercase;

    font-size:0.85rem;
}

table tr:last-child td{
    border-bottom:none;
}

table tr:hover{
    background:#fafafa;
}

/* ADS */

.ad-container{
     width:100%;
    min-height:120px;
    margin:20px auto;
    text-align:center;
    overflow:hidden;
    display:block;
}

/* BUTTONS */

.btn,
button,
input[type="submit"]{

    background:var(--primary-gold);

    color:#ffffff;

    border:none;

    border-radius:8px;

    padding:12px 22px;

    font-size:15px;

    font-weight:600;

    cursor:pointer;

    transition:0.3s;
}

.btn:hover,
button:hover,
input[type="submit"]:hover{

    background:var(--dark-gold);
}

/* FOOTER */

footer{

    background:linear-gradient(135deg,#ebb12b,#f2f074);

    color:#000;

    border-top:none;

    padding:40px 0 20px;

    margin-top:40px;
}

.footer-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));

    gap:30px;

    margin-bottom:30px;
}

.footer-col h4{

    margin-bottom:15px;

    font-size:17px;

    color:#000;
}

.footer-col ul{
    list-style:none;
}

.footer-col ul li{
    margin-bottom:10px;
}

.footer-col a{

    color:#000;

    transition:0.3s; font-size: 16px;
}

.footer-col a:hover{

    color:#222222;

    text-decoration:underline;
}

footer .text-muted{
    color:#000;    font-size: 16px;
}

.footer-bottom{

    text-align:center;

    padding-top:20px;

    border-top:1px solid rgba(255,255,255,0.25);

    color:#000;

    font-size:16px;
}

/* IFRAME */

.iframe-container{

    position:relative;

    width:100%;

    height:1240px;

    overflow:hidden;

    border-radius:10px;
}

.iframe-container iframe{

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:100%;

    border:0;
}

/* HISTORY PAGE */

.iframe-containers{

    position:relative;

    width:100%;

    height:1600px;

    overflow:hidden;

    border-radius:10px;
}

.iframe-containers iframe{

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:100%;

    border:0;
}

/* WHATSAPP FLOAT */

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #FFF;
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* MOBILE RESPONSIVE */

@media(max-width:768px){

    body{
        font-size:14px;
    }

    .iframe-container{
        height:1380px;
    }

    .iframe-containers{
        height:1400px;
    }

    iframe{
        max-width:100%;
    }

    .card{
        padding:18px;
    }

    table{
        display:block;
        overflow-x:auto;
    }

    .btn,
    button{
        width:100%;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}

/* SCROLLBAR */

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-track{
    background:#f1f1f1;
}

::-webkit-scrollbar-thumb{
    background:var(--primary-gold);
    border-radius:10px;
}

::-webkit-scrollbar-thumb:hover{
    background:var(--dark-gold);
}

/* =========================
   MOBILE MENU FIX
========================= */

.menu-toggle{
    display:none;
}

/* Mobile View */
@media(max-width:768px){

    /* Show Mobile Icon */
    .menu-toggle{
        display:flex;
        align-items:center;
        justify-content:center;
        z-index:10001;
    }

    /* Navbar */
    #navbar{
        position:fixed;
        top:130px;
        left:0;
        width:100%;
        background:#ffffff;
        box-shadow:0 5px 15px rgba(0,0,0,0.1);
        display:none;
        z-index:10000;
        max-height:calc(100vh - 80px);
        overflow-y:auto;
    }

    /* Show Menu */
    #navbar.active{
        display:block;
    }

    /* UL */
    #navbar ul{
        flex-direction:column;
        gap:0;
        padding:0;
        margin:0;
        background:#fff;
    }

    /* Menu Items */
    #navbar ul li{
        width:100%;
        border-bottom:1px solid #eee;
        background:#fff;
    }

    /* Links */
    #navbar ul li a{
        display:block;
        padding:18px 20px;
        width:100%;
        color:#08244f;
        font-size:18px;
        font-weight:600;
        background:#fff;
    }

    /* Hover */
    #navbar ul li a:hover{
        background:#f5f5f5;
        color:#c89b1d;
    }

    /* Hide Background Scroll */
    body.menu-open{
        overflow:hidden;
    }

}

/* =========================
   FAQ SECTION
========================= */

.faq-section{
    padding:35px;
}

.faq-subtitle{
    color:#000;
    margin-top:10px;
    margin-bottom:30px;
    font-size:15px;
}

.faq-container{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.faq-item{
    background:#fff;
    padding:22px;
    border-radius:14px;
    border:1px solid #f1f1f1;
    box-shadow:0 4px 12px rgba(0,0,0,0.05);
    transition:0.3s;
}

.faq-item:hover{
    transform:translateY(-2px);
}

.faq-item h3{
    font-size:19px;
    margin-bottom:12px;
    color:#c89b2c;
    line-height:1.5;
}

.faq-item p{
    line-height:1.8;
    font-size:15px;
}

/* MOBILE */

@media(max-width:768px){

    .faq-section{
        padding:20px;
    }

    .faq-item{
        padding:18px;
    }

    .faq-item h3{
        font-size:17px;
    }

}

/* =========================
   ANALYSIS SECTION
========================= */

.analysis-section{
    margin-top:30px;
}

.analysis-content{
    margin-top:25px;
}

.analysis-content p{
    color:#555;
    line-height:1.9;
    margin-bottom:18px;
    font-size:15px;
}

/* =========================
   BUYING GUIDE
========================= */

.guide-section{
    margin-top:30px;
}

.guide-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
    margin-top:25px;
}

.guide-card{
    background:#fff;
    border:1px solid #f1f1f1;
    border-radius:16px;
    padding:25px;
    box-shadow:0 4px 12px rgba(0,0,0,0.05);
    transition:0.3s;
}

.guide-card:hover{
    transform:translateY(-3px);
}

.guide-card h3{
    color:#c89b2c;
    margin-bottom:15px;
    font-size:20px;
}

.guide-card p{
    line-height:1.8;
    font-size:15px;
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    .guide-grid{
        grid-template-columns:1fr;
    }

    .guide-card{
        padding:20px;
    }

}