SẢN PHẨM

/* Khởi tạo cơ bản */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: ‘Segoe UI’, Tahoma, Geneva, Verdana, sans-serif;
}

body {
background-color: #f4f7f6;
}

.container {
display: flex;
max-width: 1200px;
margin: 20px auto;
gap: 20px;
padding: 0 15px;
}

/* Sidebar Menu bên trái */
.sidebar {
flex: 0 0 300px;
background: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sidebar h3 {
font-size: 1.1rem;
color: #333;
margin-bottom: 15px;
padding-bottom: 10px;
border-bottom: 2px solid #007bff;
}

.menu-list {
list-style: none;
}

.menu-list li {
padding: 12px 0;
border-bottom: 1px solid #eee;
font-size: 0.95rem;
color: #444;
cursor: pointer;
transition: 0.3s;
}

.menu-list li span {
font-weight: 600;
color: #555;
}

.menu-list li:hover {
color: #007bff;
padding-left: 5px;
}

/* Nội dung chính giữa */
.main-content {
flex: 1;
background: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.news-section h2 {
margin-bottom: 20px;
color: #222;
text-align: center;
}

.news-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
}

.news-item {
border: 1px solid #eee;
border-radius: 8px;
overflow: hidden;
transition: 0.3s;
}

.news-item:hover {
transform: translateY(-5px);
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-img {
height: 150px;
background: #ddd; /* Placeholder cho ảnh */
}

.news-item h4 {
padding: 15px 15px 5px;
color: #007bff;
}

.news-item p {
padding: 0 15px 15px;
font-size: 0.9rem;
color: #666;
line-height: 1.5;
}

/* Nút GỌI NGAY nổi bật */
.btn-call-now {
position: fixed;
bottom: 30px;
right: 30px;
background-color: #ff3b30;
color: white;
padding: 12px 25px;
border-radius: 50px;
text-decoration: none;
display: flex;
align-items: center;
gap: 10px;
font-weight: bold;
box-shadow: 0 4px 15px rgba(255, 59, 48, 0.4);
z-index: 1000;
transition: 0.3s;
}

.btn-call-now:hover {
background-color: #e03127;
transform: scale(1.05);
}

/* Hiệu ứng sóng rung cho nút gọi */
.pulse {
position: absolute;
width: 100%;
height: 100%;
background: inherit;
border-radius: inherit;
z-index: -1;
animation: pulse-animation 1.5s infinite;
}

@keyframes pulse-animation {
0% { transform: scale(1); opacity: 0.6; }
100% { transform: scale(1.4); opacity: 0; }
}

/* Responsive cho điện thoại */
@media (max-width: 768px) {
.container {
flex-direction: column;
}
.sidebar {
flex: none;
width: 100%;
}
}