/* top header */
.top-nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0px;
    background-color: #FFC0CB;
}

marquee {
    font-weight: bold;
    font-style: italic;
    color: black;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.6), 0 0 15px rgba(255, 255, 255, 0.4);
}

/* Header Section */
.hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0px;
    background-image: url('http://localhost/bloomora/wp-content/themes/hello-elementor/assets/images/header-bgs.png');
    background-size: cover;
    background-position: center;
    z-index: 9999;
    border-bottom: 1px solid #e7e7e7;
}


/* Header Content: Menu, Logo, and Socials */
.header-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0px;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0; /* Initially hidden */
    transform: scale(0.5); /* Start zoomed out */
    animation: zoomIn 1s ease-out forwards; /* Apply the zoom-in animation */
}

/* Define the zoom-in animation */
@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0.5); /* Start zoomed out */
    }
    100% {
        opacity: 1;
        transform: scale(1); /* End at normal size */
    }
}

.checkbtn {
    font-size: 30px;
    color: black;
    line-height: 80px;
    cursor: pointer;
    display: none;
    position: absolute;
}

#check {
    display: none;
}

.logo-header {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.logo {
    width: 75%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.desk-logo-cart {
    width: 10%;
}

.desk-logo-cart a i {
    font-size: 24px;
}

.mob-logo-cart {
    display: none;
}

.parent-menu {
    margin-bottom: 15px;
}

.menu ul {
    display: flex;
    list-style-type: none;
    margin-bottom: 0px;
}

.menu ul li {
    margin-right: 20px;
    position: relative; /* Position relative for submenu */
}

.menu ul li a {
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: Cursive;
    color: #000;
    /*text-transform: uppercase;*/
    font-size: 21px;
    font-weight: 400;
    line-height: 19.59px;
    letter-spacing: 0.02em;
    text-align: left;
}

.menu ul li a:hover {
    color: #FFC0CB;
}

.services > a::after {
  content: "\f078"; 
  font-family: "Font Awesome 6 Free";
  font-weight: 900; 
  margin-left: 10px;
}

.services:hover > a::after {
  content: "\f077";
}

/* Submenu Styling */
ul.submenu {
    display: none; /* Hide submenu by default */
    position: absolute;
    top: 100%;
    width: 305px;
    left: 0;
    background-color: #fff;
    list-style-type: none;
    padding: 10px 0;
    border: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.services:hover .submenu {
    display: block; /* Show submenu when hovering over the 'Services' menu item */
}

ul.submenu li {
    padding: 10px 20px 10px 20px;
}

ul.submenu li:hover {
    padding: 10px 20px 10px 25px;
    transition: padding 0.3s ease;
}

ul.submenu li a {
    color: #000;
    font-size: 18px;
    /*text-transform: uppercase;*/
}

ul.submenu li a:hover {
    color: #FFC0CB;
    
}

/* Logo Styling */
.logo {
    margin: 0px 0px 5px 0px;
}
.logo img {
    margin-top: 10px;
    max-width: 180px;
    height: auto;
}

/* Social Icons and RSVP Button */
.social-source {
    /*display: flex;*/
    align-items: center;
    display: none;
}

.social-source ul {
    display: flex;
    list-style-type: none;
    margin-right: 20px;
}

.social-source ul li {
    margin-left: 15px;
}

.social-source ul li a {
    font-size: 20px;
    color: black;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.social-source ul li a:hover {
    color: #FFC0CB;
}

.social-source a {
    text-decoration: none;
    color: black;
    padding: 15px 15px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.get-qoute a {
    padding: 15px 40px;
    border-radius: 50px;
    border: 1px solid #000;
    font-weight: bold;
    background-color: #FFC0CB;
    font-family: Inter;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 24.2px;
    text-align: center;
}


@media only screen and (max-width: 768px) {

    /* Header Content: Menu, Logo, and Socials */
    .header-content {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin: 0 auto;
        padding: 10px 0px;
    }

    .checkbtn {
        display: flex;
        justify-content: center;
        align-items: center;
        color: black;
        cursor: pointer;
        font-size: 24px;
        margin-left: 20px;
        margin-top: -15px;
        left: 0;
    }
    
    .logo-header {
        width: auto;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    
    .logo {
        width: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0px;
    }

    .logo img {
        width: 100px;
        margin-left: 70px;
    }
    
    .mob-logo-cart {
        display: block;
        width: 1%;
        margin-right: 10px;
    }
    
    .mob-logo-cart a i {
        font-size: 16px;
    }
    
    .desk-logo-cart {
        display: none;
    }
    
    .parent-menu {
        width: 1px;
    }
    .parent-menu {
        margin-bottom: 0px;
    }

    /* bcs header Styles for the toggle button */
    .menu {
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 600px;
        background: rgba(255, 255, 255, 1);
        top: 0;
        /*box-shadow: rgba(0, 0, 0, 0.2) 4px 12px 12px !important;*/
        left: -100%;
        transition: left 0.5s;
        text-align: left;
        overflow-x: hidden;
        overflow-y: hidden;
        margin-top: 95px;
    }

    .menu ul {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .menu li {
        list-style: none;
        padding: 5px 20px;
        font-size: 16px;
        color: black;
    }

    .menu ul li a {
        text-decoration: none;
        color: black;
        display: block;
        font-weight: 600;
        text-align: left;
        padding: 10px 25px;
        transition: color 0.3s;
    }

    .menu ul li a:hover {
        color: #FFC0CB;
    }
    
    .social-source {
        width: 52%;
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }

    .social-source ul {
        display: none;
    }

    .get-qoute a {
        padding: 8px 10px;
        border-radius: 50px;
        border: 1px solid #000;
        font-weight: bold;
        background-color: #FFC0CB;
        font-family: Inter;
        margin-right: 0px;
        font-size: 16px;
        text-transform: uppercase;
        font-weight: 500;
        line-height: 20px;
        text-align: center;
    }

    #check:checked~.menu {
        left: 0;
    }

    .checkbtn .fa {
        font-size: 35px;
        transition: color 0.3s;
    }

    #check~.checkbtn .fa-times {
        display: none;
    }

    #check:checked~.checkbtn .fa-bars {
        display: none;
    }

    #check:checked~.checkbtn .fa-times {
        display: block;
    }

    /* Adjustments for submenu on mobile */
    .menu ul li.services {
        position: relative; /* To hold submenu */
    }

    ul.submenu {
        display: none; /* Hide submenu by default */
        position: absolute;
        top: 0; /* Place submenu below the "Services" item */
        left: 0;
        width: 305px; /* Take up full width of menu */
        background-color: #fff;
        list-style-type: none;
        padding: 10px 0;
        margin: 60px 0px 0px 40px;
        border: 1px solid #ddd;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 10;
    }

    .menu ul li.services:hover .submenu {
        display: block; /* Display submenu on hover in desktop, but we'll make this work differently on mobile */
    }

    /* Mobile: Show submenu on click */
    .menu ul li.services:focus-within .submenu, 
    .menu ul li.services:active .submenu {
        display: block;
    }

    ul.submenu li {
        padding: 10px 15px 10px 15px;
        font-size: 16px;
        color: #000;
        /*text-transform: uppercase;*/
    }

    ul.submenu li:hover {
        padding: 10px 15px 10px 20px;
        transition: padding 0.3s ease;
    }

    ul.submenu li a {
        color: #000;
        font-size: 16px;
        padding: 5px 20px;
        /*text-transform: uppercase;*/
    }

    ul.submenu li a:hover {
        color: #FFC0CB;
    }

    /* For mobile, ensure the submenu is shown when the menu is open */
    .menu ul li.services > a:after {
        content: ' ▼'; /* Add an arrow for submenu items */
        font-size: 12px;
    }
}