/*
Theme Name: Dich Vu Sua Do Go
Theme URI: https://dichvusuadogo24h.com/
Author: Tuan Phuong
Version: 3.1.0
Text Domain: dichvu-sua-do-go
*/

/* RESET */
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{font-family:'Roboto',Arial,sans-serif;font-size:15px;line-height:1.7;color:#333;background:#fff;}
a{color:#c0392b;text-decoration:none;transition:color 0.3s;}
a:hover{color:#e74c3c;}
img{max-width:100%;height:auto;display:block;}
.container{max-width:1200px;margin:0 auto;padding:0 15px;}

/* TOP BAR */
.top-bar{background:#c0392b;color:#fff;padding:8px 0;font-size:14px;}
.top-bar .container{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;}
.top-bar a{color:#fff;}
.top-bar .hotline{font-weight:700;font-size:16px;}
.top-bar .hotline strong{color:#ffeb3b;}

/* HEADER */
.site-header{background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.08);padding:15px 0;position:sticky;top:0;z-index:999;}
.site-header .container{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:15px;}
.site-logo img{max-height:70px;width:auto;}
.site-logo .site-title{font-size:24px;color:#c0392b;font-weight:700;}
.header-info{display:flex;align-items:center;gap:25px;}
.header-info .info-item{display:flex;align-items:center;gap:8px;}
.header-info .info-item .label{font-size:12px;color:#777;}
.header-info .info-item .value{font-weight:700;font-size:16px;color:#c0392b;}

/* NAV */
.main-nav{background:#2c3e50;border-top:3px solid #c0392b;}
.main-nav ul{list-style:none;display:flex;flex-wrap:wrap;max-width:1200px;margin:0 auto;padding:0 15px;}
.main-nav li{position:relative;}
.main-nav a{display:block;padding:14px 20px;color:#fff;text-transform:uppercase;font-weight:600;font-size:14px;transition:background .3s;}
.main-nav a:hover,.main-nav .current-menu-item>a{background:#c0392b;}
.main-nav .sub-menu{position:absolute;top:100%;left:0;background:#2c3e50;min-width:240px;display:none;flex-direction:column;box-shadow:0 4px 12px rgba(0,0,0,.15);z-index:100;}
.main-nav li:hover>.sub-menu{display:flex;}
.main-nav .sub-menu li{width:100%;}
.main-nav .sub-menu a{text-transform:none;border-bottom:1px solid rgba(255,255,255,.08);}
.menu-toggle{display:none;background:#c0392b;color:#fff;border:none;padding:12px 20px;width:100%;text-align:left;font-size:16px;cursor:pointer;}

/* HERO BANNER */
.hero-banner-css{position:relative;background:linear-gradient(140deg,#7a3b10 0%,#9a4e1c 50%,#5d2c0a 100%);min-height:420px;display:flex;align-items:center;}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(140deg,rgba(90,40,5,.82) 0%,rgba(50,20,5,.72) 100%);}
.hero-inner{position:relative;z-index:2;max-width:1200px;margin:0 auto;padding:50px 20px;display:grid;grid-template-columns:1fr 400px;gap:40px;align-items:center;width:100%;}
.hero-text{color:#fff;}
.hero-eyebrow{font-size:13px;font-weight:700;color:rgba(255,255,255,.6);letter-spacing:3px;text-transform:uppercase;margin-bottom:16px;}
.hero-title{font-size:52px;font-weight:900;color:#fff;line-height:1.1;margin-bottom:18px;text-shadow:0 2px 20px rgba(0,0,0,.4);}
.hero-title span{color:#e8a87c;font-size:40px;display:block;}
.hero-sub{color:rgba(255,255,255,.75);font-size:17px;line-height:1.7;margin-bottom:36px;}
.hero-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap;}
.hero-btn-call{display:inline-block;background:#c0392b;color:#fff;padding:15px 34px;font-size:16px;font-weight:800;letter-spacing:1px;border-radius:3px;border-left:3px solid rgba(255,255,255,.3);text-decoration:none;white-space:nowrap;}
.hero-btn-call:hover{background:#a93226;color:#fff;}
.hero-phone-text{display:flex;flex-direction:column;gap:2px;}
.hero-phone-label{color:rgba(255,255,255,.5);font-size:11px;letter-spacing:2px;text-transform:uppercase;}
.hero-phone-num{color:#e8a87c;font-size:22px;font-weight:800;letter-spacing:1.5px;}
.hero-cards{display:flex;flex-direction:column;gap:12px;}
.hero-card{display:flex;align-items:center;gap:14px;background:#fff;border-radius:6px;padding:14px 16px;border-left:4px solid #c0392b;box-shadow:0 2px 12px rgba(0,0,0,.12);}
.hero-card-icon{font-size:22px;width:30px;flex-shrink:0;text-align:center;}
.hero-card-name{font-weight:700;color:#2c2c2c;font-size:14px;}
.hero-card-desc{color:#888;font-size:12px;margin-top:2px;}
.hero-hotline-bar{display:flex;flex-direction:column;align-items:center;gap:4px;background:linear-gradient(135deg,#c0392b,#a93226);border-radius:6px;padding:16px 20px;text-align:center;text-decoration:none;box-shadow:0 4px 16px rgba(192,57,43,.35);}
.hero-hotline-label{color:rgba(255,255,255,.8);font-size:11px;font-weight:700;letter-spacing:2px;}
.hero-hotline-num{color:#fff;font-size:24px;font-weight:900;letter-spacing:2px;margin-top:2px;}

/* BREADCRUMB */
.breadcrumb{background:#f7f7f7;padding:12px 0;font-size:14px;border-bottom:1px solid #eaeaea;}
.breadcrumb .container{color:#777;}
.breadcrumb a{color:#c0392b;}
.breadcrumb .separator{margin:0 6px;color:#999;}

/* SECTIONS */
.section{padding:50px 0;}
.section-title{text-align:center;margin-bottom:35px;}
.section-title h2{font-size:28px;color:#2c3e50;text-transform:uppercase;margin-bottom:12px;font-weight:700;}
.section-title h2 a{color:#2c3e50;}
.section-title::after{content:'';display:block;width:80px;height:3px;background:#c0392b;margin:10px auto 0;}

/* FEATURES */
.features-section{background:#f7f7f7;}
.features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;}
.feature-box{background:#fff;padding:30px 20px;text-align:center;border-radius:6px;box-shadow:0 2px 10px rgba(0,0,0,.06);transition:transform .3s;}
.feature-box:hover{transform:translateY(-5px);}
.feature-box h3{color:#c0392b;font-size:18px;margin-bottom:10px;}
.feature-box p{color:#555;font-size:14px;}

/* SERVICE GRID */
.services-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.service-card{background:#fff;border:1px solid #eee;border-radius:6px;overflow:hidden;transition:all .3s;}
.service-card:hover{box-shadow:0 8px 20px rgba(0,0,0,.1);transform:translateY(-3px);}
.service-card .card-thumb{aspect-ratio:16/10;overflow:hidden;}
.service-card .card-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s;}
.service-card:hover .card-thumb img{transform:scale(1.05);}
.service-card .card-body{padding:15px;}
.service-card h3{font-size:16px;margin-bottom:8px;line-height:1.4;min-height:44px;}
.service-card h3 a{color:#2c3e50;}
.service-card h3 a:hover{color:#c0392b;}
.service-card p{font-size:13px;color:#666;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.see-all{text-align:center;margin-top:30px;}
.see-all a{display:inline-block;background:#c0392b;color:#fff;padding:10px 30px;border-radius:4px;text-transform:uppercase;font-weight:600;font-size:14px;}
.see-all a:hover{background:#a93226;}

/* CONTENT AREA */
.content-area{padding:30px 0 50px;}
.content-area .container{display:grid;grid-template-columns:1fr 300px;gap:30px;}

/* ENTRY */
.entry-title{font-size:26px;color:#c0392b;margin-bottom:20px;line-height:1.3;text-align:center;font-weight:700;}
.entry-content h2{font-size:22px;color:#c0392b;margin:28px 0 15px;text-align:center;font-weight:700;}
.entry-content h3{font-size:18px;color:#c0392b;margin:20px 0 12px;}
.entry-content p{margin-bottom:15px;}
.entry-content ul,.entry-content ol{margin:10px 0 20px 25px;}
.entry-content ul li,.entry-content ol li{margin-bottom:8px;}
.entry-content img{margin:15px auto;border-radius:4px;}
.entry-content a{font-weight:600;}
.entry-content blockquote{background:#fdf2f0;border-left:4px solid #c0392b;padding:15px 20px;margin:15px 0;font-style:italic;}

/* POST RATING */
.post-rating{display:flex;align-items:center;gap:8px;margin-bottom:18px;}
.post-rating .rating-score{background:#2c2c2c;color:#fff;padding:4px 10px;border-radius:3px;font-weight:700;font-size:16px;}
.post-rating .rating-count{color:#666;font-size:14px;font-weight:600;}
.post-rating .rating-stars{display:inline-flex;gap:2px;margin-left:4px;}
.post-rating .star{color:#f1c40f;font-size:22px;line-height:1;}
.post-rating .star.empty{color:#ddd;}
.post-rating .star.half{color:#f1c40f;opacity:.5;}

/* HOTLINE BOX - noi bat hon */
.post-hotline-box{
    display:block;
    text-align:center;
    margin:22px 0 28px;
    padding:18px 20px 14px;
    border-bottom:4px solid #1a3a8c;
    background:#fff8f8;
}
.post-hotline-box .hb-label{
    font-size:15px;
    color:#555;
    font-weight:600;
    display:block;
    margin-bottom:6px;
}
.post-hotline-box .hb-number{
    font-size:42px;
    font-weight:900;
    color:#c0392b;
    letter-spacing:2px;
    display:block;
    line-height:1.1;
    text-decoration:underline;
    text-decoration-color:#1a3a8c;
    text-underline-offset:6px;
}
.post-hotline-box a{color:#c0392b;text-decoration:none;}
.post-hotline-box a:hover .hb-number{color:#a93226;}

/* RELATED POSTS - fix icon */
.related-posts{margin-top:40px;padding-top:25px;border-top:2px solid #eee;}
.related-posts h4{font-size:18px;color:#2c3e50;margin-bottom:15px;}
.related-posts ul{list-style:none;padding:0;margin:0;}
.related-posts li{padding:8px 0 8px 20px;border-bottom:1px dashed #eee;position:relative;}
.related-posts li::before{content:"»";position:absolute;left:0;color:#c0392b;font-weight:700;}
.related-posts li a{color:#333;}
.related-posts li a:hover{color:#c0392b;}

/* SIDEBAR - fix icon */
.sidebar{font-size:14px;}
.widget{background:#fff;margin-bottom:25px;border:1px solid #eaeaea;border-radius:4px;overflow:hidden;}
.widget-title{background:#2c3e50;color:#fff;padding:12px 15px;font-size:16px;text-transform:uppercase;font-weight:600;}
.widget-content{padding:15px;}
.widget ul{list-style:none;padding:0;margin:0;}
.widget li{padding:8px 0 8px 18px;border-bottom:1px dashed #eee;position:relative;}
.widget li::before{content:"▸";position:absolute;left:0;top:8px;color:#c0392b;font-weight:700;font-size:14px;}
.widget li:last-child{border-bottom:none;}
.widget li a{color:#333;}
.widget li a:hover{color:#c0392b;}
.widget-contact p{margin-bottom:8px;line-height:1.6;}
.widget-contact strong{color:#c0392b;}
.widget-hotline{background:#27ae60;color:#fff;text-align:center;padding:20px 15px;}
.widget-hotline .label{text-transform:uppercase;font-size:13px;opacity:.9;}
.widget-hotline .phone{font-size:24px;font-weight:700;display:block;color:#fff;margin-top:5px;}
.widget-hotline a{color:#fff;text-decoration:none;}

/* FOOTER */
.site-footer{background:#1f2d3d;color:#c8c8c8;padding:40px 0 0;font-size:14px;}
.footer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;}
.footer-col h4{color:#fff;font-size:16px;text-transform:uppercase;margin-bottom:15px;padding-bottom:8px;border-bottom:2px solid #c0392b;display:inline-block;}
.footer-col ul{list-style:none;padding:0;margin:0;}
.footer-col li{padding:5px 0;}
.footer-col li a{color:#c8c8c8;}
.footer-col li a:hover{color:#fff;}
.footer-col p{line-height:1.7;}
.footer-col strong{color:#fff;}
.footer-bottom{background:#15202b;padding:12px 0;margin-top:30px;text-align:center;font-size:13px;color:#999;}

/* FLOAT CALL */
.float-call{position:fixed;bottom:25px;left:25px;z-index:9999;background:#27ae60;color:#fff;width:60px;height:60px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 16px rgba(0,0,0,.25);animation:pulse 1.5s infinite;text-decoration:none;}
.float-call svg{width:28px;height:28px;fill:#fff;}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(39,174,96,.6);}70%{box-shadow:0 0 0 18px rgba(39,174,96,0);}100%{box-shadow:0 0 0 0 rgba(39,174,96,0);}}
.scroll-top{position:fixed;bottom:25px;right:25px;width:45px;height:45px;background:#c0392b;color:#fff;border-radius:50%;display:none;align-items:center;justify-content:center;cursor:pointer;z-index:999;border:none;font-size:20px;}
.scroll-top.show{display:flex;}

/* RESPONSIVE */
@media(max-width:992px){
    .hero-inner{grid-template-columns:1fr;}
    .hero-cards{display:none;}
    .hero-title{font-size:40px;}
    .hero-title span{font-size:32px;}
    .services-grid{grid-template-columns:repeat(2,1fr);}
    .features-grid{grid-template-columns:repeat(3,1fr);}
    .content-area .container{grid-template-columns:1fr;}
    .footer-grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:768px){
    .hero-banner-css{min-height:300px;}
    .hero-inner{padding:36px 20px;}
    .hero-eyebrow{font-size:11px;}
    .hero-title{font-size:32px;margin-bottom:14px;}
    .hero-title span{font-size:24px;}
    .hero-sub{font-size:15px;margin-bottom:24px;}
    .hero-actions{flex-direction:column;align-items:flex-start;gap:16px;width:100%;}
    .hero-btn-call{width:100%;text-align:center;padding:15px;font-size:16px;}
    .hero-phone-num{font-size:26px;}
    .post-hotline-box .hb-number{font-size:30px;}
    .top-bar .container{justify-content:center;text-align:center;}
    .site-header .container{justify-content:center;text-align:center;}
    .menu-toggle{display:block;}
    .main-nav ul{display:none;flex-direction:column;padding:0;}
    .main-nav ul.active{display:flex;}
    .main-nav li{width:100%;}
    .main-nav .sub-menu{position:static;width:100%;box-shadow:none;display:none;}
    .main-nav .sub-menu.active{display:flex;}
    .features-grid{grid-template-columns:1fr;}
    .services-grid{grid-template-columns:1fr;}
    .footer-grid{grid-template-columns:1fr;}
    .entry-title{font-size:20px;}
    .entry-content h2{font-size:17px;}
    .section-title h2{font-size:22px;}
}
@media(max-width:480px){
    .hero-title{font-size:26px;}
    .hero-title span{font-size:20px;}
    .hero-phone-num{font-size:28px;}
}
