* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.hero-section {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(180deg, #FAF7F2 0%, #E5E5E0 100%);
height: 100vh;
    overflow: hidden;
   
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
	background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    opacity: 1;
    z-index: 1;
	background-size: cover;
}

.hero-content {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1300px;
    gap: 2rem;
    font-family: 'Roboto', sans-serif;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
	padding: 35px;
}
.buon-appetito-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: "Marcellus", sans-serif;
    color: #2D4443;
    margin-bottom: 1rem;
}

.text-with-star {
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.buon-appetito-svg {
    width: 150px; 
    height: auto;
    overflow: visible; 
    margin-bottom: -10px; 
}

textPath {
    font-size: 28px; 
    font-weight: 600;
    fill: #2D4443;
    letter-spacing: 1px;
}

.star-icon {
    font-size: 1.9rem;
    color: #2D4443;
    margin-top: -5px;
}








.hero-text h1 {
    text-align: left;
    color: #2D4443;
    font-family: "Marcellus", sans-serif;
    font-size: 78px;
    font-weight: 600;
    line-height: 1.1em;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.25rem;
    color: #5e5e5e;
    margin-bottom: 2rem;
    font-family: "Marcellus", sans-serif; 
}

.hero-buttons {
    display: flex;
    gap: 1rem;
	border-radius: 18px;
}

.hero-buttons .btn {
    padding: 0.75rem 1.5rem;
   border-radius: 0px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: semibold;
    transition: background-color 0.3s;
}

.hero-buttons .btn-primary {
    background-color: #035F72;
    color: white;
	border-radius: 18px;
}

.hero-buttons .btn-secondary {
    background-color: transparent;
    border: 1px solid #2f2f2f;
    color: #2f2f2f;
		border-radius: 18px;
}.hero-image {
    position: relative;
    width: 100%;
    max-width: 600px;
    overflow: hidden;
}

.hero-dish-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    opacity: 1;
    transition: opacity 0.5s ease; 
}

.hero-dish-image.spin,
.hero-dish-image.initial-spin {
    animation: spin 1s ease-in-out; 
    opacity: 1; 
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: rotate(360deg);
        opacity: 1;
    }
}


@media (max-width: 1068px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
			        padding-top: 5%;

    }

	.buon-appetito-container{
		display: block;
		padding-top: 10%;
	}
	.hero-section{
		padding-top: 5%;
		display: block;
		height: auto;
	}
    .hero-text h1 {
        font-size: 2.5rem;
		text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }
}
