/* CSS VARIABLES */
:root {
    --primary-matte: #355E3B;
    --primary-light: #4F7942;
    --gradient: linear-gradient(135deg, #4F7942, #355E3B);
    --bg-color: #F8FAF8;
    --text-dark: #2C3E2D;
    --text-light: #667A67;
    --white: #FFFFFF;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(53, 94, 59, 0.08);
    --transition: all 0.3s ease;
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

html {
    /* Đây là thuộc tính tạo hiệu ứng cuộn mượt */
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--primary-matte);
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(53, 94, 59, 0.3);
}

.btn-light {
    background: #E8F0E8;
    color: var(--primary-matte);
}

.btn-white {
    background: var(--white);
    color: var(--primary-matte);
}

.btn-submit {
    width: 100%;
    font-size: 18px;
    padding: 15px;
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* HERO SECTION */
.hero {
    display: flex;
    align-items: center;
    gap: 40px;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-matte);
}

.hero-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    box-shadow: var(--shadow);
}

/* PRICING SECTION */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}

.pricing-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(53, 94, 59, 0.1);
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.pricing-card .price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-matte);
    margin-bottom: 20px;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-card ul li {
    margin-bottom: 10px;
    color: var(--text-light);
}

.pricing-card ul li i {
    color: var(--primary-light);
    margin-right: 10px;
}

.pricing-card.popular {
    background: var(--primary-matte);
    color: var(--white);
    transform: scale(1.05);
    border: none;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-card.popular .price,
.pricing-card.popular ul li,
.pricing-card.popular ul li i {
    color: var(--white);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFD700;
    color: #333;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}

/* PORTFOLIO SECTION */
.portfolio-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 60px 20px;
    box-shadow: var(--shadow);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: block;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(53, 94, 59, 0.15);
}

.portfolio-img {
    width: 100%;
    height: 200px;
    background: #E8F0E8;
    object-fit: cover;
    border-radius: var(--radius) var(--radius) 0 0;
}

.portfolio-info {
    padding: 20px;
    text-align: center;
}

.portfolio-info h4 {
    color: var(--primary-matte);
    margin-bottom: 5px;
}

.portfolio-info span {
    color: var(--text-light);
    font-size: 14px;
}

/* CONTACT FORM */
.contact-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 50px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(79, 121, 66, 0.1);
}

textarea.form-control {
    height: 120px;
    resize: vertical;
}

/* FOOTER */
footer {
    background: #1A2F1D;
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 30px;
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 250px;
    border-radius: 0;
}

.footer-info p {
    margin-bottom: 10px;
    color: #A9BCA9;
}

.footer-info i {
    margin-right: 10px;
    color: var(--primary-light);
}

.copyright {
    text-align: center;
    color: #A9BCA9;
    font-size: 14px;
}

/* POPUP KHUYẾN MÃI */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.popup-content {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    max-width: 450px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: var(--transition);
}

.close-popup:hover {
    color: var(--primary-matte);
}

.popup-content i.fa-gift {
    font-size: 50px;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.popup-content h2 {
    color: var(--primary-matte);
    margin-bottom: 15px;
}

.popup-content p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}