﻿@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Nunito:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&family=Be+Vietnam+Pro:wght@400;500;600;700&display=swap");


body {
    font-family: "Be Vietnam Pro", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI";
}
.navbar * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.navbar {
    background: #f6ebe7;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(240, 240, 240, 0.8);
    display:block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.navbar-logo {
    font-size: 1.8rem;
    font-weight: 700;
    -webkit-text-fill-color: transparent;
    z-index: 100;
    letter-spacing: -0.5px;
}

    .navbar-logo a {
        text-decoration: none;
        color: inherit;
    }

    .navbar-logo img {
        height: 2rem;
        width: auto;
        object-fit: contain;
        transition: all 0.3s ease;
    }

@media (min-width: 768px) {
    .navbar-logo img {
        height: 2.5rem;
    }
}

/* Mobile Menu Button */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 100;
    width: 40px;
    height: 40px;
    position: relative;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

    .navbar-toggle:hover {
        background-color: rgba(0, 0, 0, 0.05);
    }

.navbar-toggle-icon {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #374151;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

    .navbar-toggle-icon::before,
    .navbar-toggle-icon::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: #374151;
        left: 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 2px;
    }

    .navbar-toggle-icon::before {
        top: -8px;
    }

    .navbar-toggle-icon::after {
        bottom: -8px;
    }

    .navbar-toggle-icon.open {
        background-color: transparent;
    }

        .navbar-toggle-icon.open::before {
            transform: rotate(45deg);
            top: 0;
        }

        .navbar-toggle-icon.open::after {
            transform: rotate(-45deg);
            bottom: 0;
        }

/* Navigation Menu */
.navbar-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.navbar-link {
    color: #374151;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.75rem 0;
}

    .navbar-link:hover {
        color: #f43f5e;
    }

    .navbar-link::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(135deg, #f43f5e, #ec4899);
        transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 2px;
    }

    .navbar-link:hover::after {
        width: 100%;
    }

/* Mobile Styles */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem;
    }

    .navbar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 99;
        padding-top: 0;
    }

        .navbar-menu.active {
            transform: translateY(0);
        }

    .navbar-link {
        font-size: 1.25rem;
        padding: 1rem;
        font-weight: 600;
    }

        .navbar-link::after {
            left: 50%;
            transform: translateX(-50%);
        }
}

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}


body {
    padding-top: 80px;
}

/* Responsive improvements */
@media (max-width: 480px) {
    .navbar {
        padding: 0.75rem 1rem;
    }

    .navbar-logo {
        font-size: 1.5rem;
    }

    .navbar-container {
        height: 50px;
    }
}


/* Footer Styles */
.footer {
    background: #f6ebe7;
    color: black;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
    padding: 1rem 0 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h4 {
    color: #f43f5e;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

    .footer-section h4::after {
        content: "";
        position: absolute;
        bottom: -0.5rem;
        left: 0;
        width: 2rem;
        height: 2px;
        background: linear-gradient(135deg, #f43f5e, #ec4899);
        border-radius: 2px;
    }

/* Footer Logo Section */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 3rem;
    width: auto;
    object-fit: contain;
}

.footer-logo h3 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f43f5e, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.footer-description {
    color: black;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Social Media Links */
.footer-social {
    display: flex;
    gap: 1rem;
}

    .footer-social a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2.5rem;
        height: 2.5rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        color: #da3333;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        text-decoration: none;
    }

        .footer-social a:hover {
            background: linear-gradient(135deg, #f43f5e, #ec4899);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3);
        }

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 0.75rem;
    }

    .footer-links a {
        color: black;
        text-decoration: none;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        position: relative;
    }

        .footer-links a:hover {
            color: #f43f5e;
            padding-left: 0.5rem;
        }

        .footer-links a::before {
            content: "";
            position: absolute;
            left: -0.5rem;
            top: 50%;
            transform: translateY(-50%);
            width: 0;
            height: 1px;
            background: #f43f5e;
            transition: width 0.3s ease;
        }

        .footer-links a:hover::before {
            width: 0.25rem;
        }

/* Contact Information */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

    .contact-item svg {
        color: #f43f5e;
        flex-shrink: 0;
    }

    .contact-item a {
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .contact-item a:hover {
            color: #f43f5e;
        }

/* Footer Bottom */
.footer-bottom {
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    color: #95a5a6;
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

    .footer-bottom-links a {
        color: #95a5a6;
        text-decoration: none;
        font-size: 0.875rem;
        transition: color 0.3s ease;
    }

        .footer-bottom-links a:hover {
            color: #f43f5e;
        }

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0 1.5rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 0 1.5rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 1rem;
    }

    .footer-top {
        padding: 2rem 0 1rem;
    }

    .footer-logo {
        justify-content: center;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 1rem;
    }
}

main {
    flex: 1;
}

/* ==== RESET ==== */




a {
    text-decoration: none;
    color: inherit;
}

h1, h2, h3 {
    font-weight: bold;
}



.text-center {
    text-align: center;
}

.section {
    padding: 80px 20px;
}

.bg-light {
    background-color: #f6ebe7;
}

/* ==== HERO SECTION ==== */
.hero {
    
    position: relative;
    min-height: 800px;
    background-color: #f6ebe7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 2rem;
}

    .hero-content h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1.25rem;
        margin-bottom: 2rem;
        color: #000000;
    }
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fcedd8;
    padding: 2rem;
    font-family: 'Niconne', cursive;
}

    /* === MAIN TEXT === */
    .hero-content h1 {
        font-size: 3rem;
        font-weight: 600;
        margin: 0;
        text-shadow: 5px 5px 0px #9f2916, 10px 10px 0px #c88931, 15px 15px 0px rgba(255, 255, 255, 0.1);
    }

/* === SUB TEXT === */





/* ==== BUTTON ==== */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 32px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 999px;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #e99828;
    color: #fff;
}

    .btn-primary:hover {
        background-color: #5d3e12;
    }

.btn-secondary {
    background-color: #fff;
    color: #8B9A7F;
}

    .btn-secondary:hover {
        background-color: #f0f0f0;
    }

/* ==== GRID ==== */
.card-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 2rem;
}

/* ==== CARD ==== */
.card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
}

    .card .icon {
        width: 48px;
        height: 48px;
        margin: 0 auto 1rem;
        background-size: contain;
        background-repeat: no-repeat;
    }



/* ==== ABOUT ==== */
.about {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    color: #444;
}

    .about-text p {
        margin-bottom: 1rem;
    }

.about-image img {
    border-radius: 1rem;
}

/* ==== TESTIMONIALS ==== */
.testimonial {
    background-color: #fff;
    padding: 2rem;
    border-radius: 1rem;
    max-width: 340px;
    margin: 0 auto;
    box-shadow: 0 0 8px rgba(0,0,0,0.06);
    text-align: center;
}

    .testimonial .quote-icon {
        width: 32px;
        height: 32px;
        margin: 0 auto 1rem;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .testimonial .content {
        font-style: italic;
        color: #555;
        margin-bottom: 1rem;
    }

    .testimonial .stars {
        color: #facc15;
        font-size: 1.2rem;
    }

.star {
    margin: 0 2px;
}

/* ==== CTA ==== */
.cta {
    background-color: #ffffff;
    color: #000000;
    padding: 80px 20px;
}

    .cta h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .cta p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .cta .sparkles-icon {
        width: 48px;
        height: 48px;
        margin: 0 auto 1.5rem;
        background-image: url('/icons/sparkles.svg');
        background-size: contain;
        background-repeat: no-repeat;
    }



/* ==== RESPONSIVE ==== */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .cta h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 16px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p,
    .cta p,
    .about-text,
    .testimonial .content {
        font-size: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        font-size: 1rem;
        padding: 10px 24px;
    }

    .about {
        flex-direction: column;
    }

    .cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .btn-primary,
    .btn-secondary {
        font-size: 0.95rem;
        padding: 8px 20px;
    }

    .cta p {
        font-size: 0.95rem;
    }
}

.contact-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: #1f2937;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-popover {
    position: fixed;
    bottom: 6rem;
    right: 1.5rem;
    background-color: #ffffff;
    border-radius: 0.5rem;
    padding: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease;
}

    .contact-item:hover {
        background-color: #f3f4f6;
    }

    .contact-item span {
        font-weight: 500;
    }

.hidden {
    display: none;
}

/* Thanh cuộn cho trình duyệt Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 10px;
    height: 10px; /* Cho thanh cuộn ngang */
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #ff6b6b, #5f27cd);
    border-radius: 10px;
    transition: all 0.3s;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

/* Cho Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}
.login-wrapper {
    max-width: 450px;
    margin: 80px auto;
    padding: 30px;
    background-color: #1e1e1e;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    color: #fff;
}

    .login-wrapper h2 {
        margin-bottom: 10px;
        font-weight: bold;
    }

    .login-wrapper p {
        color: #aaa;
        margin-bottom: 30px;
    }

.form-control {
    background-color: #2a2a2a;
    border: 1px solid #444;
    color: #fff;
}

    .form-control:focus {
        background-color: #2a2a2a;
        color: #fff;
        border-color: #007bff;
        box-shadow: none;
    }

.form-label {
    margin-bottom: 5px;
    font-weight: 500;
    color: #ccc;
}

.form-check-label {
    color: #ccc;
}

.btn-primary {
    background-color: #cd7125e0;
    border: none;
    padding: 10px;
    border-radius: 8px;
}

    .btn-primary:hover {
        background-color: #0056b3;
    }

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
}

.text-danger {
    font-size: 0.875rem;
}

#loginForm {
    display: table-caption;
}

.custom-post-featured:hover,
.custom-post-secondary:hover {
    background-color: #f8f9fa;
    transition: background-color 0.3s ease;
}

.object-fit-cover {
    object-fit: cover;
    width: 100%;
    display: block;
    margin: auto;
}

.hover-light:hover {
    background-color: #f1f1f1;
}
.custom-post-detail img {
    border-bottom: 1px solid #eee;
}

.textgod p {
    margin-bottom: 1rem;
    line-height: 1.6;
    
}
.info-mid {
    border-radius: 15px;
}
.textgod {
    padding: 1rem;
    margin-bottom: 2rem;
}

.textgod h1, .textgod h2, .textgod h3 {
    margin-top: 1.5rem;
}
.post-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}
.post-hi img{
    border-radius:15px;
}
.post-service {
    padding: 1rem;
    text-align: justify;
    margin: 1rem;
}

    .post-service img {
        object-fit: cover;
        display: block;
        margin: auto;
        border-radius:15px;
    }
@media (max-width: 768px) {
    .post-service img {
        width: 50%;
    }
}
.custom-post-detail {
    padding: 1rem;
}
.hover-shadow:hover {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
    transition: box-shadow 0.3s ease;
}

.text-truncate {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table td, .table th {
    vertical-align: middle;
}

.pagination {
    margin-top: 20px;
}