
/* Reset default margin and padding */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Home Section */
.custom-home-section {
    position: relative;
    width: 100%;
    height: 60vh; /* Full viewport height */
    background: url('phu-yen-bg1.jpg') no-repeat center center/cover; /* Background image */
}

.home-phone-number {
    font-size: 24px; /* Adjust the font size as needed */
    color: white; /* Match the button color */
    text-decoration: none;
    display: inline-block;
    margin-top: 60px; /* Gap of 3 times the button height (assuming button height is 20px) */
}

.home-phone-number:hover {
    text-decoration: underline; /* Add hover effect if needed */
    color:var(--main-color);
}

.home-phone-number i {
    margin-right: 10px; /* Add space between the icon and the phone number */
}

/* Custom Overlay */
.custom-home-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Translucent overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

/* Custom Content */
.custom-home-content {
    z-index: 1;
    max-width: 100%;
}
/* Logo Container */
.home-logo-container {
    margin-bottom: 60px; /* Space between logo and restaurant name */
}

.home-logo {
    width: 440px;
    max-width: 100%; /* Adjust as needed */
    height: auto;
}
/* Restaurant Info */
.restaurant-info {
    margin-bottom: 20px; /* Adjust as needed to create space between text and buttons */
}

/* Heading Styles */
.home-heading-style-1 h1 {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 3em; /* Adjust the font size as needed */
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Text shadow added */
}

.home-heading-style-2 h1 {
    font-size: 55px;
    font-family: 'Satisfy', cursive;
    font-weight: 400;
    color: #fff;
}

/* Slogan */
.slogan {
    color: white;
    font-family: 'Roboto', sans-serif;
    font-size: 1.5em; /* Adjust the font size as needed */
    font-weight: 500; /* Make the font bolder */
    letter-spacing: 0.5px;
    margin: 0;
    margin-bottom: 40px; /* Increase this value to add more space below the slogan */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Add shadow for depth */
}

/* 
.buttons {
    margin-top: 50px; 
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 10px; 
}

.button {
    background-color: var(--main-color);
    color: white;
    padding: 15px 30px;
    font-size: 1.2em;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 700; 
    width: 200px;
}
.button {
    background-color: var(--main-color);
    color: white;
    padding: 15px 30px;
    font-family: 'Roboto', sans-serif;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 700; 
    width: 200px;
    text-align: center; 
    overflow: hidden; 
    white-space: nowrap; 
    text-overflow: ellipsis; 
    font-size: calc(200px / (var(--text-length, 10))); 
}*/


/* Buttons Container */
.buttons {
    margin-top: 50px; /* Adjust as needed to create space between text and buttons */
    display: flex;
    flex-wrap: wrap; /* Allows buttons to wrap on smaller screens */
    justify-content: center; /* Centers the buttons horizontally */
    align-items: center; /* Aligns buttons vertically */
    gap: 10px; /* Adds spacing between the buttons */
}

/* Individual Button */
.button {
    background-color: var(--main-color);
    color: white;
    padding: 15px 30px;
    font-family: 'Roboto', sans-serif;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 700; /* Bold text */
    width: 175px;
    text-align: center; /* Ensures text is centered */
    overflow: hidden; /* Hides overflow if the text is too long */
    white-space: nowrap; /* Prevents text from breaking into a new line */
    text-overflow: ellipsis; /* Adds '...' if text is too long */
    font-size: 1.1em; /* Adjust font size as needed */
}
.button[data-text-length] {
    --text-length: attr(data-text-length);
}

.button:hover {
    background-color:  #b80000; 
    padding: 10px 20px;
    white-space: nowrap; /* Prevents buttons from splitting into multiple lines */
    text-align: center;
}

.button:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(240, 102, 51, 0.2);
}

/* Extra small devices (phones) */
@media (max-width: 375px) {

}

/* Media query for max-height: 896px */
@media (max-height: 896px) {
  .custom-home-section {
    height: 72vh;
  }
}

/* Media query for max-height: 844px */
@media (max-height: 844px) {
  .custom-home-section {
    height: 75vh;
  }
}

/* Media query for max-height: 740px */
@media (max-height: 740px) {
  .custom-home-section {
    height: 95vh;
  }
}

/* Media query for max-height: 667px */
@media (max-height: 667px) {
  .custom-home-section {
    height: 100vh;
  }
}