* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

/* Header styles */
.header {
    background-color: #FFD1DC;
    padding: 15px 0;
}

.nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    width: 100px;
    height: auto;
    display: block;
}

.nav-links a {
    text-decoration: none;
    color: white;
    margin: 0 15px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size:larger;
}

/* Hiệu ứng hover cho các nút đăng nhập/đăng ký */
.nav-links a:nth-child(3):hover { /* Đăng nhập */
    color: #E84855; /* Màu đỏ */
}

.nav-links a:nth-child(4):hover { /* Đăng ký */
    color: #4CAF50; /* Màu xanh lá */
}

/* Main content */
.main-content {
    padding: 0;
    max-width: none;
    flex: 1; /* Đẩy footer xuống đáy */
    overflow: hidden; /* Tránh nội dung tràn */
    position: relative;
}


.content-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.text-section {
    flex: 1.2;
    padding: 20px;
}

.title {
    font-family: 'Dancing Script', cursive;
    font-size: 38px;
    margin-bottom: 20px;
    color: #333;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    line-height: 1.4;
    font-weight: 700;
}

.description {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 20px;
    margin-bottom: 25px;
    color: #555;
}

.button-group {
    display: flex;
    justify-content: space-between;
}

.cta-button {
    font-family: 'Playfair Display', serif;
    background-color: #FFD1DC;
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 209, 220, 0.3);
}

.cta-button:hover {
    background-color: #FFB6C1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 209, 220, 0.5);
}

.portfolio-button {
    font-family: 'Playfair Display', serif;
    background-color: #4CAF50;
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.portfolio-button:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
}

/* Footer */
.footer {
    background-color: #FFD1DC;
    padding: 20px 0;
    position: relative; /* Đặt relative để không bị ảnh hưởng bởi các phần khác */
    bottom: 0;
    width: 100%;
    z-index: 2; /* Đảm bảo footer luôn trên */
}

.footer-links {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    color: white;
    font-weight: 500;
}

.footer-links div {
    transition: transform 0.3s ease;
}

.footer-links div:hover {
    transform: translateY(-2px);
}

/* Thêm wrapper để quản lý layout tổng thể */
.wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.image-section {
    flex: 0.8;
}

.feature-image {
    width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.banner-wrapper {
    
    position: relative;
    width: 100%;
    height: calc(100vh - 100px); 
    overflow: hidden; 
    margin-bottom: 0; 
    
}

.banner-image {
    width: 100%;
    height: 100vh;
    object-fit: contain;
    position: relative;
    z-index: 1; /* Đặt ảnh chính lên trên */
    /*display: block;*/
    object-fit: cover;
    /* object-fit: cover;*/ 
}

.banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  
    background-size: cover;
    background-position: center;
    filter: blur(20px); /* Làm mờ ảnh nền */
    transform: scale(1.1); /* Phóng to để tránh rìa bị lộ */
    z-index: 0; /* Đặt nền phía sau */
}



/* Đảm bảo logo luôn vừa với chiều cao của navbar */
.navbar-brand-logo img {
    height: 80px !important; /* Điều chỉnh chiều cao theo nhu cầu */
    width: auto  !important;  /* Giữ tỷ lệ khung hình của logo */
    transition: transform 0.3s ease !important; /* Hiệu ứng khi hover vào logo */
  }
  
  /* Logo khi hover (chỉnh hiệu ứng) */
  .navbar-brand-logo  img:hover {
    transform: scale(1.1) !important; /* Tăng kích thước logo khi hover */
  }
  

  .navbar-brand-logo  {
    padding: 0  !important; /* Gỡ bỏ padding mặc định */
    display: flex  !important;
    align-items: center !important; /* Căn giữa logo theo chiều dọc */
  }
  
  /* Nếu nền web của bạn là sáng và muốn logo tối hơn để phù hợp */
  .navbar-brand-logo  img {
    filter: brightness(0) invert(1) !important; /* Đổi màu logo thành trắng nếu nền tối */
  }
  
  /* Đảm bảo logo không bị che khuất trên các thiết bị nhỏ */
  @media (max-width: 767px) {
    .navbar-brand-logo  img {
      height: 30px  !important; /* Điều chỉnh kích thước logo trên thiết bị di động */
    }
  }