@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Open+Sans:wght@400;700&display=swap');

body {
    font-family: 'Open Sans', sans-serif;
    color: #4d4d4d;
    line-height: 1.6;
    background-color: #f7f7f7;
    text-align: center;
}

h1, h2, h3, .logo {
    font-family: 'Rockwell', sans-serif;
    color: #8e44ad;
}

h1 { font-size: 48px; margin-bottom: 20px; }
h2 { font-size: 36px; margin-bottom: 15px; }
h3 { font-size: 24px; margin-bottom: 10px; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    max-width: 100%;
    height: auto;
}

nav {
    background-size: cover;
    background-position: center;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

nav ul li { margin: 0 15px; }

nav ul li a {
    color: #e98aeb;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4a235a;
    transition: width 0.3s ease;
}

nav ul li a:hover { color: #d7bc9c; }
nav ul li a:hover::before { width: 100%; }

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
        margin-top: 20px;
    }
    
    nav ul li { margin: 10px 0; }
}

header {
    background-color: #481f49;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 40px;
}

#hero {
    position: relative;
    opacity: 0;
    transition: opacity 1s ease;
    border: 4px solid #481f49;
    border-radius: 8px;
    margin-bottom: 40px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('images/ohsugarlogobackground.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#hero .container {
    transform: translateY(50px);
    opacity: 0;
    transition: transform 1s ease, opacity 1s ease;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
}

.button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #4a235a;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.button:hover {
    background-color: #6c3483;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 20px;
    margin-bottom: 40px;
    border: 4px solid #2ecc71;
    border-radius: 8px;
    padding: 20px;
}

.image-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fadeInImage 1s ease forwards;
}

@keyframes fadeInImage {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.menu-container img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    border: 4px solid #4a235a;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.menu-container img:hover { transform: scale(1.05); }

.menu-download {
    text-align: center;
    margin-top: 20px;
}

.menu-download .button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #4a235a;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.menu-download .button:hover { background-color: #6c3483; }

@media screen and (min-width: 1024px) {
    .menu-container {
        flex-direction: row;
        justify-content: center;
    }
    
    .menu-container img {
        max-width: calc(50% - 20px);
        margin: 0 10px;
    }
}

.map-container {
    width: 100%;
    padding-bottom: 56.25%;
    position: relative;
    margin-bottom: 40px;
    border: 4px solid #4a235a;
    border-radius: 8px;
    overflow: hidden;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

footer {
    background-color: #8e44ad;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    border: 4px solid #4a235a;
    border-radius: 8px;
    margin-top: 40px;
}

/* Social Media */
.social-icons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.social-icons a {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    color: #fff;
    margin: 0 10px;
    transition: 0.5s;
    font-size: 30px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.social-icons .facebook {
    background-color: #3b5998;
}

.social-icons .facebook:hover {
    background-color: #2d4373;
}

.social-icons .tiktok {
    background-color: #000;
}

.social-icons .tiktok:hover {
    background-color: #3f3f3f;
}

.social-icons .instagram {
    background-color: #c32aa3;
}

.social-icons .instagram:hover {
    background-color: #9a2282;
}

.social-icons a:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* contact  */
.contact-info {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.email-link,
.phone-link {
    display: inline-flex;
    align-items: center;
    color: #333;
    text-decoration: none;
    margin: 0 20px;
    transition: color 0.3s ease;
}

.email-link i,
.phone-link i {
    margin-right: 8px;
    color: #8e44ad;
}

.email-link:hover,
.phone-link:hover {
    color: #8e44ad;
}

/* Hero Section img */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('images/ohsugarlogobackground.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-content {
    text-align: center;
    color: #fff; /* Adjust text color as needed */
    /* Add any additional styles for the content */
}



/* Media Queries for Responsive Design */

/* Extra Large Desktops */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    #hero {
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .swiper-slide img {
        max-width: 500px;
        max-height: 400px;
    }
}

/* Large Desktops */
@media (max-width: 1399px) {
    #hero {
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .swiper-slide img {
        max-width: 500px;
        max-height: 400px;
    }
}

/* Desktops */
@media (max-width: 1199px) {
    #hero {
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .swiper-slide img {
        max-width: 500px;
        max-height: 400px;
    }
}

/* Tablets and Smaller Desktops */
@media (max-width: 991px) {
    #hero {
        height: 80vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .swiper-slide img {
        max-width: 400px;
        max-height: 320px;
    }
}

/* Landscape Phones */
@media (max-width: 767px) {
    #hero {
        height: 70vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .swiper-slide img {
        max-width: 300px;
        max-height: 240px;
    }
}

/* Portrait Phones */
@media (max-width: 480px) {
    #hero {
        height: 60vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .swiper-slide img {
        max-width: 250px;
        max-height: 200px;
    }
}

    footer .footer-link {
        color: #f7c8c8; /* Light pink for the link */
        text-decoration: none; /* Remove underline */
        font-weight: bold;
        transition: color 0.3s ease; /* Smooth transition */
    }
    
    footer .footer-link:hover {
        color: #ff5c8f; /* Darker pink on hover */
        text-decoration: underline; /* Underline on hover */
    }

/* Silly doordash styles */

#order {
    padding: 40px 20px;
    background-color: #f8f8f8;
    text-align: center;
}

#order p {
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    color: #4a235a; /* Dark Purple */
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

#order .button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #4a235a;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 2px;
}

#order .button:hover {
    background-color: #6c3483;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}