:root {
    --gold: #d4af37;
    --green: #00c853;
    --dark: #0b0b0b;
    --gray: #1a1a1a;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    padding-top: 60px;
}

/* container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #0a5c36;
    /* màu nền header */
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 60px;
    position: relative;
}

/* Logo tròn */
.logo {
    position: absolute;
    left: 0;
    top: 10px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    display: none;
}

.logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 0;
    flex-wrap: wrap;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--green);
}

.logo span {
    color: var(--gold);
}

.tagline {
    font-size: 13px;
    color: #aaa;
}

/* MENU */
.menu {
    display: flex;
    list-style: none;
}

.menu-toggle {
    display: none;
}

.menu li {
    margin-left: 25px;
}

.menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.menu li a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.25s ease;
}

.menu a:hover {
    background: #d4af37;
    color: #0a5c36;
    transform: translateY(-1px);
}

/* HERO */
.hero {
    height: clamp(500px, 80vh, 900px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background:
        linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0)),
        url('../images/hero.jpg');

    background-size: cover;
    background-position: 20% center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    color: var(--gold);
    margin-bottom: 10px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 20px;
}

.btn-call {
    background: linear-gradient(45deg, var(--green), var(--gold));
    color: black;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
}

.btn-call:hover {
    opacity: 0.9;
}

/* PAGE-TITLE */
.page-title {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.page-title::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 92, 54, 0.75);
}

.page-title .container {
    position: relative;
    z-index: 2;
}

.page-title h1 {
    font-size: 36px;
    color: #f5c542;
    margin-bottom: 10px;
}

.page-title p {
    font-size: 16px;
}

/* SERVICES */
.services {
    padding: 60px 0;
    text-align: center;
}

.services h2 {
    color: var(--gold);
    margin-bottom: 40px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-box {
    background: var(--gray);
    padding: 30px;
    border: 1px solid var(--green);
    border-radius: 10px;
    transition: 0.3s;
}

.service-box:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.service-box h3 {
    color: var(--green);
    margin-bottom: 10px;
}

/* PRICE */
.price {
    padding: 60px 0;
    text-align: center;
}

.price h2 {
    color: var(--gold);
    margin-bottom: 40px;
}

.price-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.price-card {
    background: var(--gray);
    border: 2px solid var(--green);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    transition: 0.3s;
}

.price-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.price-card h3 {
    color: var(--gold);
    margin-bottom: 20px;
    text-align: center;
}

.price-card ul {
    list-style: none;
}

.price-card li {
    padding: 8px 0;
    border-bottom: 1px solid #333;
}

.btn-price {
    display: block;
    margin-top: 20px;
    text-align: center;
    background: linear-gradient(45deg, var(--green), var(--gold));
    color: black;
    padding: 12px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

.other-price {
    margin-top: 30px;
    color: #ccc;
}

.arrow {
    color: #f5c542;
    font-weight: bold;
    margin: 0 5px;
}

/* FOOTER */
footer {
    background: #000;
    text-align: center;
    padding: 20px;
    border-top: 1px solid var(--gold);
}

/* Floating Buttons */
/* Floating Buttons */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

/* Item */
.float-item {
    position: relative;
    display: flex;
    align-items: center;
}

/* Icon */
.float-item .icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 22px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

/* Phone text */
.phone-text {
    position: absolute;
    right: 65px;
    white-space: nowrap;
    padding: 10px 16px;
    border-radius: 25px;
    font-weight: bold;
    color: #ff0000;
    /* chữ đỏ */
    border: 2px solid #ffffff;
    /* viền trắng */
    opacity: 0;
    transform: translateX(20px);
    transition: 0.3s;
}

/* Hover effect */
.float-item:hover .phone-text {
    opacity: 1;
    transform: translateX(0);
}

/* Call */
.float-item.call .icon {
    background: #28a745;
}

.float-item.call .phone-text {
    background: #28a745;
}

/* Zalo */
.float-item.zalo .icon {
    background: #0084ff;
}

.float-item.zalo .phone-text {
    background: #0084ff;
}

@keyframes shake {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(8deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(-8deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.float-item.call .icon {
    animation: shake 1.5s infinite;
}

/* ================= Footer ================= */
.footer {
    background: #0a5c36;
    color: white;
    margin-top: 40px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px 10px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 30px;
}

/* Căn lề từng cột */
.footer-left {
    text-align: left;
}

.footer-center p {
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 6px;
    text-align: left;
}

.footer-center p strong {
    color: #f5c542;
    font-size: 16px;
}

.footer-right iframe {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    background: white;
}

.footer-container {
    align-items: start;
}

.footer-right iframe {
    max-width: 100%;
    border-radius: 8px;
}

.footer-right {
    text-align: right;
}

.footer-col h3 {
    margin-bottom: 15px;
    color: #f5c542;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: white;
    text-decoration: none;
}

.footer-col ul li a:hover {
    color: #f5c542;
}

.footer-col {
    position: relative;
}

.footer-col:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 10px;
    right: -15px;
    width: 1px;
    height: 80%;
    background: rgba(255,255,255,0.15);
}

.footer-bottom {
    text-align: center;
    padding: 15px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 14px;
}


/* ================= TABLET ================= */
@media (max-width: 900px) {
    .price-cards {
        grid-template-columns: 1fr;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 36px;
    }
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    .header-container {
        padding: 0 0px;
        height: 70px;
    }

     .footer-container {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .footer-right {
        text-align: left;
    }
    
    /* Logo mobile */
    .logo {
        position: relative;
        top: 0;
        gap: 10px;
        display: flex;
        align-items: center;
        width: auto;
    }

    .logo img {
        width: 90px;
        height: 90px;
    }

    .logo-text {
        display: block;
        color: white;
        font-weight: bold;
        line-height: 1.2;
        position: relative;
        top: -15px;
    }

    /* Menu mobile */
    .menu {
        position: absolute;
        top: 80px;
        right: 0;
        background: #084c2d;
        width: 220px;
        flex-direction: column;
        display: none;
        padding: 10px;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    }

    .menu.show {
        display: flex;
    }

    .menu li {
        margin: 5px 0;
    }

    .menu li a {
        display: block;
        width: 100%;
        padding: 12px 15px;
        border-radius: 8px;
        transition: all 0.25s ease;
    }

    .menu li a:hover {
        background: #d4af37;
        color: #0a5c36;
        padding-left: 20px;
    }

    .menu-toggle {
        display: block;
        font-size: 26px;
        color: white;
        cursor: pointer;
        margin-left: auto;
    }

    /* Hero */
    .hero h1 {
        font-size: 30px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }
}

