
/*Basic reset.*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*Body styling.*/
body {
    font-family: 'Roboto', sans-serif;
    background: rgb(0,0,0);
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;/*Ensures the page takes up the full viewport height.*/
}

/*Header styling.*/
header {
    background: rgb(0,0,0);
   /* background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 76%, rgba(176,176,176,1) 93%, rgba(0,0,0,0) 100%); */
    color: #fff;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

/*Header logo styling.*/
header .logo img {
    height: 60px;
    margin-left: 1rem;
    position: fixed;
    top: 0;
}

/*Navigation button list styles.*/
nav ul {
    list-style: none;
    display: flex;
    margin-right: 1rem;
}
nav ul li {
    margin: 0 1rem;
}

/*Navigation button styles*/
nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.3s;
    font-size: 1.1rem;
    font-weight: bold;
}
nav ul li a:hover {
    background: #575757;
}

/* Main Content Styling */
main {
    padding: 5rem 2rem;
    margin-top: 0px;
    flex-grow: 1;/*Allows the main content area to grow and push footer down.*/
}

/*Hero background.*/
.hero {
    color: #fff; 
    padding: 5rem 2rem;
    text-align: center;
    background-image: url("images/GIF.webp");
    width: 100%;
    height: 1000px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
/*Hero h1 text.*/
.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease-out;
}
/*Hero p text.*/
.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
}
.hero div {
    background: rgb(0,0,0);
    background: linear-gradient(0deg, rgb(0, 0, 0) 0%, rgba(0,0,0,0) 100%);
    width: 100%;
    height: 100px;
    position: relative;
    top: 600px;
    left: 0px;
}

/*Styling for cta-button*/
.cta-button {
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.75rem 1.5rem;/*Adjusted padding for better sizing.*/
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;/*Ensures the button takes up the appropriate size.*/
    transition: background-color 0.3s ease;
    margin-top: 15px;
}
.cta-button:hover {
    background-color: #ff3b3b;
}

/*Section styling.*/
.about,
.products,
.contact,
.order {
    background: #242633;
    color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    animation: fadeInUp 1.5s ease-out;
}

/*Product cards styling.*/
.p-cards,
.p-cards2 {
    width: 600px;
    height: 280px;
    background-color: #242633;
    border-radius: 10px;
    box-shadow: 1px 1px 2px 2px rgb(199, 199, 199);
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 100px;
    margin-left: 800px;
}
.p-cards2 {
    margin-top: -280px;
    margin-left: 80px;
}
.p-img,
.p-img2 {
    width: 10%;
    height: auto;
    object-fit: contain;
}

.product-card {
    display: flex;
    align-items: center;
    background-color: #242633;
    border-radius: 10px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}
.product-img {
    width: 40%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    border-radius: 8px;
    margin-right: 20px;
}
.text-container,
.text-container2 {
    width: 60%;
    text-align: left;
    padding-left: 10px;
    box-sizing: border-box;
}
.p-cards h1,
.p-cards2 h1 {
    color: black;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    font-size: 24px;
}
.p-cards p,
.p-cards2 p {
    color: black;
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 10px;
    font-size: 14px;
}

/*Footer styling.*/
footer {
    background: #000;
    color: #fff;
    text-align: center;
    font-weight: bold;
    padding: 1rem 0;
    position: relative;/*Changed from fixed to relative.*/
    bottom: 0;
    width: 100%;
}

/*Form styling.*/
form {
    display: flex;
    flex-direction: column;
}
form label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #333;
}
form input,
form textarea {
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    width: 100%;
}
form button {
    padding: 0.8rem;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}
form button:hover {
    background: #575757;
}

/*Animation styles.*/
@keyframes fadeInDown {/*Fades in from below.*/
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInUp {/*Fades in from above.*/
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*Responsive styling.*/
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        margin-top: 1rem;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-button {
        font-size: 1rem;
    }
}
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .cta-button {
        font-size: 0.9rem;
        padding: 0.5rem 1.5rem;
    }
}
