/* styles.css */

/* Custom Fonts */
/* Believe the current fonts are not royalty free, search for similar royalty free ones */
/* Fat Kat */
@font-face {
    font-family: "Fat Kat";
    src: url('Fonts/Fat\ Kat\ -\ \(Demo\)\ hanscostudio.com.ttf') format('truetype');
}

/* Milky Vintage */
@font-face {
    font-family: "Milky Vintage";
    src: url('Fonts/MilkyVintage-Regular.ttf') format('truetype');
}

/* Million Design */
@font-face {
    font-family: "Million Design";
    src: url('Fonts/MillionDesign.ttf') format('truetype');
}

/* Modern Prestige Demo */
@font-face {
    font-family: "Modern Prestige Demo";
    src: url('Fonts/Modern\ Prestige\ DEMO.otf') format('truetype');
}

/* Verve */
@font-face {
    font-family: "Verve";
    src: url('Fonts/Verve.ttf') format('truetype');
}

/* Vogue */
@font-face {
    font-family: "Vogue";
    src: url('Fonts/Vogue.ttf') format('truetype');
}
/* Apple */
 @font-face {
     font-family: "Apple";
     src: url('Fonts/Apple.otf') format('truetype');
 }
 
 /* Bebas Neue */
 @font-face {
     font-family: "Bebas Neue";
     src: url('Fonts/BebasNeue-Regular.ttf') format('truetype');
 }
 
 /* Super Sunday */
 @font-face {
     font-family: "Super Sunday";
     src: url('Fonts/Super Sunday Personal Use.ttf') format('truetype');
 }
body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    font-family: var(--font);
}

/********************************************************************************************************************************************/
 /* CSS for admin editor */
 
 .webpage {
    display: flex;
}

.editor {
    z-index: 10;
    width: 25%;
    display: flex;
    flex-direction: column;
    padding-left: 2rem;
    bottom: 10px;
    position: fixed;
    background-color: rgba(255, 0, 208, 0.381);
}

.demo {
    width: 75%;
    width: 100%;
}
#done {
     appearance: none; -webkit-appearance: none;
     width: 100px;
     color: #000000;
     background-color: var(--background_color);
     padding: 10px;
     border-radius: 5px;
     border: none;
 
     font-size: 18px;
 
     cursor: pointer;
 }
 
 #done:hover {
     color: #FFFFFF;
 }
 
 #cancel {
     appearance: none; -webkit-appearance: none;
     width: 100px;
     color: #000000;
     background-color: var(--background_color);
     padding: 10px;
     border-radius: 5px;
     border: none;
 
     font-size: 18px;
 
     cursor: pointer;
 }
 
 #cancel:hover {
     color: #FFFFFF;
 }

.demo#img_banner{
    height: 500px;
}



.color-editor {
    padding-left: 5rem;
}

/* End of CSS for admin editor */
/********************************************************************************************************************************************/

.img_banner {
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.img_banner img {
    width: 100%;
    max-width: 33.33%;
    height: auto;
    object-fit: cover;
    flex: 1;
}

.timer_banner {
    width: 100%;
    height: 110px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    display: block;
    background-color: var(--background_color);
    font-family: 'Roboto';
    color: var(--font_color_title);
    /*font-weight: medium;*/
    font-size: 1.125rem;
}

.drop_title {
    height: 1.75rem;
    font-size: 1.65rem;
    display: flex;
    justify-content: center;
    font-weight: var(--font_weight);
    font-family: var(--font);
    -webkit-text-stroke-color: var(--font_border_color);
    -webkit-text-stroke-width: calc(var(--font_border_thickness) * 1px);
    transform: translateY(-20px);
    padding-top: 8px;
}

/* Countdown container */
.countdown {
    display: flex;
    flex-direction: column; /* Align time units in a row */
    align-items: center;
    transform: translateY(5px);
    padding-top: 10px;
}

/* Container for each time unit */
.time-unit {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0 0.5rem;
    gap: 1.2rem
}

/* Style for numbers */
.number {
    font-size: 1.5rem;
    color: var(--font_color_timer);
    font-weight: bold;
}

/* Style for labels for time units in the banner*/
.labels_time_units {
    display: flex;
    flex-direction: row;
    font-size: .6rem;
    color: var(--font_color_timer);
    justify-content: center;
    gap: 3.6rem;
}

/* Manually chnaging the position of units days, hours, minutes, and seconds */


/* Style for colons */
.colon {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--font_color_timer);
    margin: 0 0.2rem;
}

/* Adjust the layout for labels under time units */
.labels {
    display: flex;
    justify-content: center;
    padding-left: 1rem;
}


/* Style for header brand image */
.brand-header {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--background_color);
}

.brand-logo {
    max-width: 300px;
    height: auto;
    display: inline-block;
    margin: 0 auto;
}


@media screen and (max-width: 768px) {
    .fa-cart-shopping, .fa-user {
        padding-right: 5px;
    }
}

.wrapper {
    min-height: 87vh;
    display: flex;
    flex-direction: column;
}


/* Custom navbar styles*/
.navbar {
    width: 100%;
    height: 60px;
    max-width: 100%;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    justify-content: space-between;
    background-color: var(--background_color);
    font-family: "Roboto", sans-serif;
    align-items: center;
    position: relative;
    font-weight: bold;
}

.navbar .links {
    display: flex;
    gap: 2rem;
}

.navbar .toggle_btn {
    color: #000;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    position: absolute;
    left: 1rem;
}


.navbar .cart_btn {
    color: #000;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    margin-top: -.8438rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 1; /* Fully visible by default */
    display: inline-flex;
}

.navbar .cart_btn.flicker {
    opacity: 0; /* Make it invisible during re-render */
    transform: scale(0.9); /* Optional scaling effect */
}

/* Mini Cart - Initially Hidden */
.cart-dropdown {
    position: absolute;
    top: 50px;
    right: 20px;
    width: 350px;
    background: white;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0; /* Start fully transparent */
    transform: translateY(-15px); /* Start slightly above */
    visibility: hidden; /* Hidden but still present in the DOM */
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    padding: 10px;
    z-index: 1000;
}

.cart-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: white !important;  /* Force white background */
    color: black !important;  /* Change text to black for readability */
    padding: 10px 15px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(-10px);
    z-index: 9999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/* Ensure smooth animation when showing */
.cart-dropdown.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}



.cart-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}



.cart-item img {
    border-radius: 5px;
    margin-right: 10px;
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.cart-footer {
    text-align: center;
    margin-top: 10px;
}

.checkout-button {
    display: block;
    background: #F46471;
    color: white;
    padding: 8px;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
}

.checkout-button:hover {
    background: salmon;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: 15px;
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 5px 8px;
    font-size: 7px;
    font-weight: bold;
}

.empty-cart {
    text-align: center;
    font-size: 14px;
    color: gray;
}



.navbar .profile_btn {
    color: #000;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    right: 1.2rem;
    display: flex;
    pointer-events: auto;
}

.navbar .profile_btn.flicker{
    opacity: 0; /* Make it invisible during re-render */
    transform: scale(0.9); /* Optional scaling effect */
}

.action_btn {
    background-color: #000;
    color: white;
    padding: .5rem 1rem;
    border: none;
    outline: none;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: bold;
    cursor: pointer;
    transition: scale 0.2 ease;
}
.action_btn:hover {
    scale: 1.05;

}

.navbar .profile_btn:hover i,
.navbar .profile_btn a:hover i {
  transform: scale(1.05);
  color: black !important;
}

.action_btn:active {
    scale: .95;
    
}

.navbar .links li {
    list-style: none;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover {
    color: #ffffff; /* Hover color for links */
}

/*Dropdown menu styling*/
.dropdown {
    display: none;
    position: absolute;
    top: 100px;
    height: 0;
    width: 300px;
    background: var(--background_color);
    border-radius: 10px;
    overflow: hidden;
    transition: height .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown.open{
    min-height: 220px;
}

.dropdown li {
    padding: .7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile styling (for responsive layout) */
@media (max-width: 992px) {
    .navbar .links,
    .navbar .action_btn{
        display: none;
        padding: .5rem 1rem;
    }

    .navbar .toggle_btn{
        display: block;
        
    }

    .dropdown {
        display: block;
    }

    iframe {
        width: 70%; /* Adjust map size for larger screens */
        height: 400px;
    }
}

@media (max-width: 576px) {
    .dropdown {
        left: 2rem;
        width: unset;
    }
}


h1 {
    text-align: left;
    font-size: 22px;
    margin-top: 20px;
}

h2 {
    font-size: 18px;
    margin-top: 10px;
}

/* Contact Information Styling */
.contact-info h2, .contact-info p {
    text-align: left;
    margin: 10px 0;
    padding-left: 20px;
}

.findus {
    padding-left: 20px;
}

.hours {
    text-align: left;
    margin: 20px 0;
}

.hours ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.hours li {
    font-size: 14px;
    padding: 3px 0;
    padding-left: 50px;
}

/* Map Styling*/
iframe {
    width: 95%;
    height: 300px;
    border: 0;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    display: block;
}

/* Adjust view for desktop size */
@media (min-width: 1024px) {
    /*Resize map*/
    iframe {
        width: 100%;
        height: 500px;
    }
}

 /* Adjust view for tablet size */
@media (min-width: 768px) {
    /*Resize map*/
    iframe {
        width: 95%;
        height: 500px;
        text-align: center;
    }
}

/* Instagram feed stuff */
.instagram-feed-section {
    margin: 20px;

    display: flex;
    align-content: center;
    justify-content: center;
}

.instagram-media {
    height: 860px;
    max-width: 65%;
}

@media screen and (max-width: 768px) {
    .instagram-feed-section {
        margin: 10px;

        display: flex;
        align-content: center;
        justify-content: center;

        max-height: 500px;
    }

    .instagram-media {
        height: 440px;
    }
}

footer {
    background-color: var(--background_color);
    min-height: 13vh;
    padding: 10px;
    text-align: center;
    width: 100%;
}

/* Footer header styles */
#footer-header {
    font-family: Roboto, sans-serif;
    font-weight: bold;
    font-size: 18px;
    color: #000000;
    margin: auto;
    text-align: center;
    padding: 5px;
}

/* input boxes for email and phone number */
.subscribeInput {
    font-family: Roboto, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;

    margin: 5px 0;
    background: transparent;
    padding: 5px;
    box-sizing: border-box;

    min-width: 255px;
    min-height: 29px;

    border: 1px solid #000000;
    border-radius: 5px;

    align-self: center;
}

.subscribeInput::placeholder {
    color: black;
}

/* Subscribe button */
.subscribeButton {
    font-family: Roboto, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    letter-spacing: 0.5px;

    padding: 5px;

    color: var(--background_color);

    background: #000000;
    border: 1px solid transparent;
    border-radius: 5px;
    min-width: 102px;
    min-height: 29px;

    cursor: pointer;
}

.subscribeButtonPhone {
    font-family: Roboto, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    letter-spacing: 0.5px;

    padding: 5px;

    color: #F46471;

    background: #000000;
    border: 1px solid transparent;
    border-radius: 5px;
    min-width: 102px;
    min-height: 29px;

    cursor: pointer;
}


.subscribeButton:hover {
    color: #FFFFFF;
}


.littleThings {
    font-size: 10px;
    font-family: Roboto, sans-serif;
}

.instaIcon {
    padding: 10px;
}

#footerLine {
    width:100%;
    /*width: calc(100% + 18px);*/
    color: black;
    margin: 0 0;
    overflow: visible;
    border-top-style: solid;
    border-top-width: 1px;
    border-top-color: black;
    border-bottom: hidden;
}

.subscribe-section {
    display: flex;
    justify-content: center;
}

.subscribe-subsection {
    margin: 0 50px;
}

@media screen and (max-width: 768px) {
    .subscribe-section {
        display: block;
    }

    .subscribe-subsection {
        margin: 10px;
    }

    .subscribeInput {
        font-family: Roboto, sans-serif;
        font-style: normal;
        font-weight: normal;
        font-size: 16px;

        margin: 5px 0;
        background: transparent;
        padding: 5px;
        box-sizing: border-box;

        min-width: 255px;
        min-height: 29px;

        border: 1px solid #000000;
        border-radius: 5px;

        align-self: center;
    }
}
