/* Custom Font Faces */
@font-face {
    font-family: 'Cromlin';
    src: url('assets/CromlinDEMO-Regular.otf') format('opentype');
}

@font-face {
    font-family: 'Corporate S';
    src: url('assets/Corporate S Light Regular.otf') format('opentype');
}

@font-face {
    font-family: 'RRollie';
    src: url('assets/RRollie Regular.otf') format('opentype');
}

@font-face {
    font-family: 'Sofia Pro';
    src: url('assets/SofiaProRegCond.otf') format('opentype');
}

@font-face {
    font-family: 'Brown Sunflower';
    src: url('assets/BROWN\ SUNFLOWER.ttf') format('truetype');
}

/* Media Queries */
@media (min-width: 300px) and (max-width: 991px) {
    .custom-nav-width {
        width: 100%;
    }
}

/* animation keyframes */
@keyframes slideInFromBottom {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes parallax {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100% 50%; 
    }
}
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.animate-on-scroll.visible {
    animation: slideInFromBottom 1s forwards;
}


/* ensure that no one overflows x axis */
html, body{
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* custom threshold */
.custom-height{
    height: auto; 
    min-height: 60vh; 
}
.custom-font {
    font-family: 'RRollie';
}
.cursor-pointer {
    cursor: pointer;
}
.custom-hover:hover {
    border-bottom: 2px solid white; 
  }

/*  LANDING CSS */
.custom-landing {
    position: relative;
    background-image: url('assets/banner.jpg');
    height: 100vh;
    background-size: cover;
    background-attachment: fixed; 
    background-position: 0 0;
    width: 100%;
    overflow-x: hidden; 
}

.custom-landing::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    background-position: 0 0;
    animation: parallax 15s linear infinite; 
}

/* Overlay Styles */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.7); 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1;
}


.header-landing{
    font-family: 'Brown Sunflower';
    font-size: 72px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
                 0 0 20px rgba(255, 255, 255, 0.6),
                 0 0 30px rgba(255, 255, 255, 0.4);
}

.logo {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8)) 
            drop-shadow(0 0 20px rgba(255, 255, 255, 0.6)) 
            drop-shadow(0 0 30px rgba(255, 255, 255, 0.4));
}

.custom-landing .container {
    position: relative;
    z-index: 2; 
}

ul {
    font-family: 'Corporate S';
    color: white;
    list-style: none;
    font-size: small;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
                 0 0 20px rgba(255, 255, 255, 0.6),
                 0 0 30px rgba(255, 255, 255, 0.4);
}


/* Cakes CSS */
.custom-cake-section {
    height: 100%;
    padding: 40px;
}

.custom-cake-item {
    position: relative; 
    display: inline-block;
    text-align: center;
    height: 100%;
    max-height: 100%;
    transition: transform 0.3s ease;
}

.custom-cake-item:hover {
    transform: translateY(-20px); 
}

.custom-cake-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); 
    z-index: 1;
}

.custom-birthdaycake {
    width: 100%;
    height: 100%; 
    object-fit: cover; 
}

.custom-cake-label {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    padding: 5px 10px;
    font-family: 'Brown Sunflower';
    font-size: 18px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
                 0 0 20px rgba(255, 255, 255, 0.6),
                 0 0 30px rgba(255, 255, 255, 0.4);
    z-index: 2; 
}

/* css about section */
.custom-about-section{
    height: 100%;
    padding-top: 50px;
    padding-bottom: 20px;
    background-color: black;
}
.custom-about-wrapper{
    width: 90%;
    line-height: 3;
}
.custom-about-p{
    font-size: 14px;
    color: rgb(169, 174, 179);
    font-family: 'Cromlin';
    text-align: justify;
}
.custom-about-title {
    font-family: 'Brown Sunflower';
}
.custom-collection-img {
    width: 100%;
    object-fit: cover;
    height: 250px;
    padding: 1px;
}

/* cake collectiion css */
.custom-collection-img {
    transition: transform 0.3s ease;
}

.custom-collection-img:hover {
    transform: translateY(-20px); 
}


/* css footer */
.custom-footer-section {
    height: 100%;
    background-color: black;
    padding: 40px;
}
.custom-input {
    width: 100%; 
    border: none; 
    border-bottom: 2px solid white; 
    outline: none; 
    padding: 10px; 
    font-size: 16px; 
}

.custom-input:focus {
    border-bottom: 2px solid #ff5733; 
}

.custom-p-footer {
    font-size: 13px;
    line-height: 1;
}