/* General Styling */
body {
    background-color: #E7E8E9;
    font-family: "Inter", sans-serif;
    width: 100%;
}
 nav{
    font-size: larger;
    width: 70%;
    margin: 0 auto;
 }

/* HERO SECTION */
#hero {
    padding: 5%;
    text-align: center;
}

#side-text{
    display: none;
    
}
/* @media (min-width: 1500px) {
    #side-text {
        position: absolute;
        top: 530px;
        left: -80px;
        display: inline-block;
        transform: rotate(-90deg);
        font-size: 5em;
        font-weight: 500;
        color: #297FAB;
    }
} */

#herotext1 {
    display: block;
    font-size: clamp(1.5em, 6vw, 3em);
    font-family: "EB Garamond", serif;
    margin-bottom: -20px;
    font-weight: 600;
}


#herotext2 {
    display: block;
    font-family: "EB Garamond", serif;
    font-size: clamp(3em, 10vw, 5em);
    font-weight: 1000;
    line-height: 1.05;
}
#herotext3 {
    display: inline-block;
    font-family: "EB Garamond", serif;
    font-size: clamp(1.5em, 6vw, 2em);
    font-weight: 400;
    vertical-align: middle;


}
/* Add this to your CSS file */
.diamond-star {
    display: inline-block;
    vertical-align: middle;
    width: 32px;
    height: 32px;
    background: #A04640;
    clip-path: polygon(
        50% 7%,    /* top - less pointy */
        63% 37%,   /* top-right */
        93% 50%,   /* right - less pointy */
        63% 63%,   /* bottom-right */
        50% 93%,   /* bottom - less pointy */
        37% 63%,   /* bottom-left */
        7% 50%,    /* left - less pointy */
        37% 37%    /* top-left */
    );
    box-shadow: 0 0 2px 1px #A0464055;
}
@media (max-width: 480px) {
    #herotext1{
        margin-bottom: -7px;
    }
    nav{
        width: 100%;
    }
    .diamond-star {
        width: 24px;
        height: 24px;
    }
}
#ifblock {
    display: block;
}

#recipe-card{
    background-color: white;
    max-width: 550px;
    height: auto;
    margin: 0 auto;
    box-shadow: -10px 10px 0px #e3e2d1;
}
#recipe-card p{
    font-size: clamp(0.6em, 2vw, 1.2em);
    font-family: "Inter", sans-serif;
    margin: 0;
    padding: 10px 0;
    color: #242342;
    margin-top: -7px;
}
#recipe-card-header{
    background-color: #242342;
    color: #E7E8E9;
}
#recipe-card-header h1{
    font-family: "EB Garamond", serif;
    font-size: clamp(1.5em, 6vw, 3em);
    /* font-size: 2.3em; */
    margin: 0 auto;
    vertical-align: middle;
    padding: 10px 0;
    text-align: center;
    letter-spacing: 0.05em;
}
#recipe-card-body{
    padding: 20px;
    color: #242342;
    font-family: "Inter", sans-serif;
}
.card-heading{
    display: block;
    font-family: "EB Garamond", serif;
    font-size: clamp(0.5em, 4vw, 1.5em);
    margin: 0 auto;
    padding: 10px 0;
    text-align: start;
    letter-spacing: 0.05em;
    color: #297FAB;
    font-weight: 550;
    /* #CB7305 */

}
h2{
background: linear-gradient(to right, 
    /* Orange at 0% */
  #297FAB 0%, 
#CB7305 50%,    /* Blue at 50% */
  #A04640 70%    /* Brown at 100% */
);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
#sec-3{
    margin-bottom: 100px;
}
.recipe-table{
    width: 100%;
    margin: 0 auto;
}
.recipe-table tr, th, td {
    padding-right: 2%;
    padding-left: 2%;
    font-size: clamp(0.8em, 2vw, 1em);
}

.table-small {
    font-size: 0.9em;
 
}
@media (max-width: 768px) {
    #hero h1 {
        font-size: 3em;
    }
    #recipe-card {
        width: 100%;
    }
    #recipe-card-body {
        padding: 15px;
        
    }
    #recipe-card p{
        margin-top: -15px;
    }
}

@media (max-width: 480px) {
    #hero h1 {
        font-size: 2em;
    }
    #ifblock {
        display: inline-block;
    }
}

/* Section 1 Styling */
#sec-image {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
    border-radius: 10px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.hero-image-full {
    max-width: 1200px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    transition: box-shadow 1s ease;  

}

.hero-image-full:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}
/* Section Styling */
.sec {
    margin: auto;
    margin-bottom: 20px;
    padding: 20px 50px;
    border-radius: 10px;
    max-width: 1050px;
}

.flex-container {
    display: flex;
    width: 100%;
}

/* Section 2 Image Styling */
.sec-2-image {
    max-width: 200px;
    height: 200px;
    margin: 0 auto;
    display: block;
    border-radius: 10px;
}
/* #sec-2 .flex-container{
    text-align: center;
} */

#sec-2-flex1{
    background-color: whitesmoke;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;

}
#sec-2-image2 {
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    display: block;
    margin-left: -10px;
}

/* Phone Styles */
@media (max-width: 880px) {
    #sec-2-image2 {
        max-width: 100%;
        height: auto;
        margin: 50px auto 0 auto;
        display: block;
    }
    #sec-2-flex1{
        width: 250px;
        padding: 10px;
        margin: 0 auto;
    }
    #sec-2 .flex-container{
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Button Styling */
.pop-button {
    background-color: #d0d0d0;
    color: #000;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    border-radius: 5px;
}

#sec-1 p {
    padding: 2px;
    padding-top: 5px;
}

/* Logo Styling */
/* .logo {
    margin-left: ;
} */

/* Highlight Animation */
.highlight {
    animation: highlight-animation 2s ease-in-out;
}

@keyframes highlight-animation {
    0% { background-color: #D4D2C5; }
    100% { background-color: transparent; }
}

/* Footer Styling */
footer {
    background-color: #E6E4D7;
    padding: 20px 0;
    text-align: center;
    border-top: 2px solid #D4D2C5;
}

.footer-container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-content p {
    margin: 0;
    font-size: 14px;
    color: #333;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

.footer-links li {
    display: inline;
}

.footer-links a {
    text-decoration: none;
    color: #000;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #555;
}

/* Responsive Styling for Larger Screens */
@media (min-width: 850px) {

    .logo-container {
        display: flex;
        gap: 20px;
    }
}

/* Responsive Styling for Smaller Screens */
@media (max-width: 850px) {
    .flex-container {
        display: block;
    }

    .flex-text-header {
        text-align: center;
    }

}

@media (max-width: 480px) {
    .sec {
        padding: 10px 30px;
    }

    nav{
        width: 85%;
    }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  opacity: 0;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.animatedelayed {
    opacity: 0;
    transition: opacity 0.3s ease-out 0.2s, transform 0.3s ease-out 0.2s;
}

.animate.visible {
  animation: fadeInUp 0.8s ease-out forwards;
}

