/* General Reset */
*,
*:before,
*:after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: #d4c4e1;
    font-family: 'Poppins', sans-serif;
    color: #dcd5e1;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 960px;
    padding-top: 120px;
    scroll-behavior: smooth;
    padding: 20px;
    margin: 0 auto;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #c9b3da;
    padding: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .logo{
    height: 100px;
    width: 100px;
    text-align: center;
}

.navigation {
    display: flex;
}

.navigation a {
    color: #552586;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    margin-left: 20px;
}

.navigation a:hover {
    color: #eb3e3d;
}

/* Sections */
section {
    padding: 80px 0 40px;
    margin: 20px 0;
    text-align: center;
    border-radius: 8px;
    background-color: #b589d6;
}

.section {
    background-color: #b589d6;
    padding: 40px;
    height: 400px;
    margin: 20px auto;
    font-size: 28px;
    color: #1f023a;
    margin-bottom: 16px;
}

#projects {
    background-color: #b589d6;
    height: auto;
}

/* Projects Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 40px auto;
}

.project {
    background-color: #804fb3;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: #1f023a;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.project:hover {
    transform: scale(1.05);
}

/* Main Section and Tool Section */
.main-section {
    background-color: #333;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.main-section h3,
.tools-section h3 {
    font-size: 24px;
    color: #1f023a;
    margin-bottom: 20px;
}

.main-section p,
.tools-section p {
    font-size: 16px;
    color: #ccc;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Section */
#contact {
    padding: 40px;
    border-radius: 8px;
    margin-top: 40px;
}

.contact-form {
    background-color: #444;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
}

.contact-form button {
    background-color: #1f023a;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #f5a800;
}

.hideAll{
    display: none;
}

#main-section{
    margin-top: 80px;
}

.restaurantapp:hover{
    background-image: url(../assets/images/restaurant.webp);
    background-origin: top;
    background-size: cover;
}

.gussinggame:hover{
    background-image: url(../assets/images/gussinggame.webp);
    background-origin: top;
    background-size: cover;
}

.outdoorcompany:hover{
    background-image: url(../assets/images/brandbook.jpg);
    background-origin: top;
    background-size: cover;
}

.retailinstallation:hover{
    background-image: url(../assets/images/retailinstallation.jpg);
    background-origin: top;
    background-size: cover;
}

.markettingmaterials:hover{
    background-image: url(../assets/images/markettingmaterials.jpg);
    background-origin: top;
    background-size: cover;
}

.infographicvideo:hover{
    background-image: url(../assets/images/featurevideo.jpg);
    background-origin: top;
    background-size: cover;
}

.productdemo:hover{
    background-image: url(../assets/images/infographicvideo.jpg);
    background-origin: top;
    background-size: cover;
}

.digitalsignage:hover{
    background-image: url(../assets/images/digitalsignage.jpg);
    background-origin: top;
    background-size: cover;
}

.collaborativeproject:hover{
    background-image: url(../assets/images/collsborativeproject.jpg);
    background-origin: top;
    background-size: cover;
}

#about{
    margin-top: 150px;
    display: flex;
}

#about p{
    font-size: 1rem;
    margin-top: 1.2rem;
    text-align: left;
}

#about img{
    width: 40%;
}

/* Contact Form CSS */
.contact-form {
    background-color: #b589d6; /* Dark background for form */
    padding: 20px;
    border-radius: 8px;
    max-width: 920px;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-form h1 {
    color: #f5a800;
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
}

.contact-form label {
    color: #804fb3;
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}

.contact-form button {
    background-color: #c9b3da;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #f5a800;
}


/* Mobile View (up to 480px) */
@media only screen and (max-width: 480px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 10px;
    }

    header {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .logo {
        width: 80px;
        height: 80px;
    }

    .navigation {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 10px;
    }

    .navigation a {
        margin-left: 0;
        margin-top: 10px;
        font-size: 14px;
    }

    section {
        padding: 40px 0 20px;
    }

    .section {
        font-size: 24px;
        height: 250px;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .project {
        height: 150px;
        font-size: 16px;
    }

    .main-section p,
    .tools-section p {
        font-size: 14px;
    }

    .contact-form {
        width: 100%;
        padding: 15px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 14px;
    }

    .contact-form button {
        font-size: 14px;
    }
}

/* Tablet View (481px to 768px) */
@media only screen and (min-width: 481px) and (max-width: 768px) {
    body {
        padding: 20px;
    }

    .container {
        padding: 20px;
    }

    header {
        flex-direction: row;
        align-items: center;
        padding: 15px;
    }

    .logo {
        width: 90px;
        height: 90px;
    }

    .navigation {
        flex-direction: row;
        margin-left: 20px;
    }

    .navigation a {
        margin-left: 15px;
        font-size: 15px;
    }

    section {
        padding: 60px 0 30px;
    }

    .section {
        font-size: 26px;
        height: 300px;
    }

    .project-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .project {
        height: 160px;
        font-size: 17px;
    }

    .main-section p,
    .tools-section p {
        font-size: 15px;
    }

    .contact-form {
        width: 100%;
        padding: 18px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 15px;
    }

    .contact-form button {
        font-size: 15px;
    }
}

/* Desktop View (769px and up) */
@media only screen and (min-width: 769px) {
    .container {
        max-width: 960px;
        padding: 20px;
    }

    header {
        padding: 20px;
        justify-content: space-between;
    }

    .logo {
        width: 100px;
        height: 100px;
    }

    .navigation {
        display: flex;
    }

    .navigation a {
        margin-left: 20px;
        font-size: 16px;
    }

    section {
        padding: 80px 0 40px;
    }

    .section {
        font-size: 28px;
        height: 400px;
    }

    .project-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .project {
        height: 180px;
        font-size: 18px;
    }

    .main-section p,
    .tools-section p {
        font-size: 16px;
    }

    .contact-form {
        width: 100%;
        padding: 20px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 16px;
    }

    .contact-form button {
        font-size: 16px;
    }
}
