/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and font settings */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
}

/* Header and navigation */
header {
    background-color: #333;
    color: white;
    padding: 1rem;
    text-align: center;
}

.header {
    background-color: #6f4e37;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.nav a {
    color: white;
    margin-left: 15px;
    text-decoration: none;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Hero section */
.hero {
    background-image: url('assets/hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 5rem 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero .btn {
    background-color: #e67e22;
    color: white;
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* Product showcase */
.product-showcase {
    padding: 3rem 2rem;
    text-align: center;
}

.product-showcase h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.product {
    display: inline-block;
    width: 320px;
    margin: 1rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding: 1rem;
    transition: transform 0.3s ease;
}


.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); 
    /*
    grid-template-columns:
        [line-name1] 350px [line-name2] repeat(auto-fit, [line-name3 line-name4] 350px) 350px;
    */
        gap: 1.5rem;
    justify-items: center;
}


.product:hover {
    transform: translateY(-5px);
}

.product img {
    width: 100%;
    height: auto;
}

.product h3 {
    font-size: 1.5rem;
    margin: 1rem 0;
}

.product p {
    font-size: 1.2rem;
    color: #e67e22;
    margin-bottom: 1rem;
}

.product .btn {
    background-color: #e67e22;
    color: white;
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.product .btn:hover {
    background-color: #783000;
}

/* Contact form */
.contact-form {
    background-color: white;
    padding: 3rem 2rem;
    text-align: center;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin: 1rem 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form button {
    background-color: #e67e22;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
}

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

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem;
    position: fixed;
    width: 100%;
    bottom: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    nav ul {
      flex-direction: column;
    }
  }

.icon {
    width: 20px;
    height: 20px;
    margin: 0 5px;
}
.icon:hover {
    transform: scale(1.1);
}

.top-right-link {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 16px;
    color: #007bff;
    text-decoration: none;
    padding: 5px 10px;
  }


