* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
    background: url('background_green.png') no-repeat center center fixed;
    background-size: cover;
}

header {
    box-shadow: none; /* Remove the shadow to connect the orange sections */
    padding: 10px 0;
    width: 100%;
    position: relative; /* Change to relative to avoid any gap */
    top: 0;
    left: 0;
}

.container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 220px;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: rgb(0, 0, 0); /* Black text for contrast */
    margin: 0 15px;
    font-size: 22px; /* Increased font size */
    padding: 10px 15px;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: rgba(0, 128, 0, 0.2); /* Lighten on hover */
    border-radius: 5px; /* Rounded corners on hover */
}

main {
    text-align: center;
    padding: 20px 0;
}

.search-section {
    padding: 40px 0;
}

.search-section h1 {
    margin: 0;
    font-size: 32px;
    color: white; /* White text to contrast with orange background */
}

.search-section p {
    font-size: 18px;
    color: white; /* White text to contrast with orange background */
}

.search-bar {
    margin: 20px auto;
    width: 60%;
    display: flex;
    justify-content: center;
}

.search-bar input {
    width: 70%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
}

.search-bar button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    color: white;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.promo-section {
    color: white;
    padding: 40px 0;
    position: relative;
}

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

.promo-text {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.promo-text h2 {
    margin: 0;
    font-size: 36px;
}

.promo-text p {
    font-size: 24px;
}

.button-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.action-button {
    display: inline-block;
    padding: 15px 30px; /* Increased padding for larger buttons */
    margin: 0 10px;
    font-size: 18px; /* Larger font size */
    border: none;
    border-radius: 20px; /* Rounder corners */
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 150px; /* Equal width for both buttons */
    text-align: center;
    text-decoration: none; /* Remove underline from links */
    color: white; /* Text color */
    background-color: #003b00; /* Black background color */
}

.action-button:hover {
    background-color: #008000; /* Darker shade of green for hover effect */
}

/* New styles for the form section */
.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 280px); /* Adjust height to consider the header height */
}

.form-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    text-align: center;
}

h1 {
    text-align: center;
    color: #333;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="file"],
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
}

button {
    width: 100%;
    padding: 1rem;
    background-color: #003b00;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
}

button:hover {
    background-color: #008000;
}

/* New styles for the success section */
.success-section {
    padding: 40px 0;
}

.success-section .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.success-section img {
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.success-section h1 {
    font-size: 32px;
    color: rgb(0, 0, 0);
    margin-bottom: 10px;
}

.success-section p {
    font-size: 18px;
    color: black;
    margin-bottom: 20px;
}

.home-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #003b00;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
}

.home-button:hover {
    background-color: #008000;
}

/* New styles for the product grid section */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Ensure three columns */
    gap: 20px;
    padding: 20px;
}

.product-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 15px;
    transition: transform 0.3s ease;
    text-decoration: none; /* Remove underline from links */
    color: inherit; /* Inherit text color */
}

.product-card:hover {
    transform: scale(1.05);
}

.product-image {
    max-width: 100%;
    height: auto;
}

.product-info {
    padding: 15px 0;
}

.product-category {
    font-size: 14px;
    color: #888;
    margin-bottom: 5px;
}

.product-price {
    font-size: 18px;
    color: red;
    margin-bottom: 10px;
}

.product-name {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.product-description {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.product-rating {
    font-size: 14px;
    color: #333;
}

.product-rating span {
    color: #888;
}

/* New styles for the product detail page */
.product-detail {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-images {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.product-images img {
    width: 80%;
    margin-bottom: 20px;
}

.product-info {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.product-info h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.price {
    font-size: 20px;
    color: #f00;
    margin-bottom: 10px;
}

.color-options, .size-options {
    margin-bottom: 20px;
}

.size-options button {
    padding: 10px;
    margin: 5px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    transition: background 0.3s;
}

.size-options button:hover {
    background: #f0f0f0;
}

.add-to-cart {
    background: #000;
}

.add-to-cart:hover {
    background: #333;
}

.buy-now {
    background: #003b00;
    display: flex;
    align-items: center;
    justify-content: center;
}

.buy-now img {
    margin-left: 10px;
    height: 20px;
}

.buy-now:hover {
    background: #008000;
}

/* Improved styles for the payment page */
.payment-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 40px auto;
    text-align: left;
}

.payment-section h1 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.payment-section .form-group {
    margin-bottom: 20px;
}

.payment-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.payment-section input[type="text"],
.payment-section input[type="month"],
.payment-section input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.payment-section input[type="text"]:focus,
.payment-section input[type="month"]:focus,
.payment-section input[type="number"]:focus {
    border-color: #008000;
    outline: none;
}

.payment-section button {
    width: 100%;
    padding: 15px;
    background-color: #003b00;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.payment-section button:hover {
    background-color: #008000;
}

.payment-section .form-group .small-text {
    font-size: 12px;
    color: #888;
}

input[type="password"] {
    padding: 15px; /* Erhöht die Innenabstände, macht das Feld dicker */
    font-size: 13px; /* Optional: Schriftgröße anpassen */
    border: 1px solid #ccc; /* Optional: Rahmenstil */
    border-radius: 4px; /* Optional: Abgerundete Ecken */
}
