:root {
    --primary: #d31cd3;
    --bg: rgba(51, 51, 51);
}

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
}

body {
    background-color: var(--bg);
    color: #fff;
    line-height: 1.6;
    margin: 0;
}

.navbar {
    background-color: rgba(51, 51, 51);
    color: #f19;
    padding: 1.4rem 7%;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(1, 1, 1, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: #69027e;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    font-style: italic;
}

.navbar-nav a {
    color: #fff;
    font-size: 1.4rem;
    margin: 0 1rem;
    display: inline-block;
}

.navbar .navbar-nav a:hover {
    color: var(--primary);
}

.navbar .navbar-nav a::after {
    content: '';
    display: block;
    padding-bottom: 0.5rem;
    border-bottom: 0.1rem solid var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.navbar .navbar-nav a:hover::after {
    transform: scaleX(0.5);
}

.navbar .navbar-extra a {
    color: #fff;
    margin: 0 0.5rem;
}

.navbar .navbar-extra a:hover {
    color: var(--primary);
}

#ham-menu {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('https://i.ibb.co.com/bm2jwrW/backgrounds.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero::after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgb(51, 51, 51) 3%, rgba(51, 51, 51, 0) 25%);
}

.hero .content {
    padding: 1.4rem 7%;
    max-width: 60rem;
}

.content h1 {
    font-size: 5em;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
}

.content h1 span {
    color: var(--primary);
}

.content p {
    font-size: 1.6rem;
    margin-top: 1rem;
    line-height: 1.4rem;
    font-weight: 100;
    text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
    mix-blend-mode: difference;
}

/* About & Contact Section */
.about,
.contact {
    padding: 10rem 7% 1.4rem;
}

.about h2,
.contact h2 {
    color: #a300ee;
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 3rem;
}

.about h2 span,
.contact h2 span {
    color: var(--primary);
}

.about .row {
    display: flex;
}

.about .row .about-img img {
    width: 100%;
}

.about .row .content {
    flex: 1 1 35rem;
    padding: 0 1rem;
}

.about h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.about p {
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: 100;
    line-height: 1.6;
}

.contact .row {
    display: flex;
    margin-top: 2rem;
    background-color: gray;
}

.contact .row .map {
    flex: 1 1 45rem;
    width: 100%;
    object-fit: cover;
}

.contact .row form {
    flex: 1 1 45rem;
    padding: 5rem 2rem;
    text-align: center;
}

.contact .row form .input-group {
    display: flex;
    align-items: center;
    margin-top: 2rem;
    background-color: var(--bg);
    border: 1px solid #eee;
    padding-left: 2rem;
}

.contact .row form .input-group input {
    width: 100%;
    padding: 2rem;
    font-size: 1.7rem;
    background: none;
    color: #fff;
}

.contact .row form .btn {
    margin-top: 3rem;
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.7rem;
    color: #fff;
    background-color: var(--primary);
    cursor: pointer;
}

/* Menu Section */
.menu {
    margin: 20px;
    text-align: center;
    padding: 10rem 7% 1.4rem;
}

.menu h2 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 15px;
}

.menu-item {
    display: inline-block;
    width: 300px;
    margin: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.menu-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}

.menu-item h3 {
    font-size: 20px;
    margin: 10px 0;
    color: var(--primary);
}

.menu-item p {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--primary);
}

button {
    background-color: #ff00ff;
    color: #fff;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #e600db;
}

/* Footer */
footer {
    background-color: #ea00ff;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 14px;
    color: #333;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    border-radius: 20px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Table */
table, th, td {
    border: 1px solid #ccc;
    border-collapse: collapse;
    padding: 10px;
    text-align: left;
    color: var(--primary);
}

th {
    background-color: #f2f2f2;
}

/* Responsive */
@media (max-width: 1936px) {
    html {
        font-size: 75%;
    }
}

@media (max-width: 800px) {
    html {
        font-size: 65%;
    }

    #ham-menu {
        display: inline-block;
    }

    .navbar-nav {
        position: absolute;
        top: 100%;
        right: -100%;
        background-color: rgba(51, 51, 51);
        width: 30rem;
        height: 100vh;
        transition: 0.3s;
        flex-direction: column;
    }

    .navbar-nav.active {
        right: 0;
    }

    .navbar-nav a {
        display: block;
        margin: 1.5rem;
        padding: 0.5rem;
        font-size: 2rem;
    }

    .navbar-nav a::after {
        transform-origin: 0 0;
    }

    .hero {
        min-height: 80vh;
    }

    .about .row,
    .contact .row {
        flex-wrap: wrap;
    }

    .about .row .about-img img {
        height: 24rem;
        object-fit: cover;
        object-position: center;
    }

    .about .row .content {
        padding: 0;
    }

    .about .row .content h3 {
        margin-top: 1rem;
        font-size: 2rem;
    }

    .about .row .content p {
        font-size: 1.6rem;
    }

    .contact .row .map {
        height: 30rem;
    }

    .contact .row form {
        padding-top: 0;
    }
}

@media (max-width: 500px) {
    html {
        font-size: 55%;
    }

    .hero {
        min-height: 70vh;
    }
}

@media (max-width: 768px) {
    .product {
        flex: 1 1 100%;
    }
}
