{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #fff8e7 0%, #ffe4b5 100%);
    min-height: 100vh;
}
nav {
    background-color: #8b4513;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}
nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}
nav a:hover {
    background-color: #a0522d;
}
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}
h1 {
    text-align: center;
    color: #8b4513;
    font-size: 48px;
    margin-bottom: 10px;
}
.subtitle {
    text-align: center;
    color: #a0522d;
    font-size: 20px;
    margin-bottom: 50px;
}
.galerii-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}
.galerii-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
}
.galerii-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.galerii-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.galerii-info {
    padding: 20px;
}
.galerii-card h3 {
    color: #8b4513;
    font-size: 22px;
    margin-bottom: 10px;
}
.galerii-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}
.kuupaev {
    color: #d97706;
    font-size: 14px;
    font-weight: bold;
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}
.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
}
.modal-info {
    background: white;
    padding: 20px;
    border-radius: 0 0 10px 10px;
}
.close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #fff8e7 0%, #ffe4b5 100%);
    min-height: 100vh;
}
nav {
    background-color: #8b4513;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}
nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}
nav a:hover {
    background-color: #a0522d;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}
h1 {
    text-align: center;
    color: #8b4513;
    font-size: 48px;
    margin-bottom: 10px;
}
.subtitle {
    text-align: center;
    color: #a0522d;
    font-size: 20px;
    margin-bottom: 50px;
}
.kategooria {
    margin-bottom: 50px;
}
.kategooria h2 {
    color: #8b4513;
    font-size: 36px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #d97706;
}
.tooted-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}
.toode-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}
.toode-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.toode-card h3 {
    color: #8b4513;
    font-size: 24px;
    margin-bottom: 10px;
}
.toode-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}
.hind {
    font-size: 28px;
    font-weight: bold;
    color: #d97706;
}
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #fff8e7 0%, #ffe4b5 100%);
    min-height: 100vh;
}
nav {
    background-color: #8b4513;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}
nav a:hover {
    background-color: #a0522d;
}
.hero {
    text-align: center;
    padding: 100px 20px;
    max-width: 1000px;
    margin: 0 auto;
}
.hero h1 {
    font-size: 72px;
    color: #8b4513;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}
.hero p {
    font-size: 24px;
    color: #a0522d;
    margin-bottom: 40px;
}
.button {
    display: inline-block;
    background-color: #d97706;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.button:hover {
    background-color: #b45309;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}
.feature-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}
.feature-card:hover {
    transform: translateY(-5px);
}
.feature-card h3 {
    color: #8b4513;
    font-size: 24px;
    margin-bottom: 15px;
}
.feature-card p {
    color: #666;
    line-height: 1.6;
}
.icon {
    font-size: 48px;
    margin-bottom: 15px;
}
.contact {
    background-color: #8b4513;
    color: white;
    text-align: center;
    padding: 60px 20px;
    margin-top: 80px;
}
.contact h2 {
    font-size: 36px;
    margin-bottom: 20px;
}
.contact p {
    font-size: 18px;
    margin: 10px 0;
}
body {
    font-family: Arial;
    background: #fff5e6;
    padding: 20px;
}
nav {
    background: #8b4513;
    padding: 15px 0;
    margin-bottom: 40px;
}
nav ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
}
nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
}
h2 {
    margin-top: 40px;
    color: #8b4513;
}
form {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    max-width: 600px;
}
input, select, textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
button {
    background: #d97706;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}
table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    margin-top: 20px;
}
th, td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}
th {
    background: #f8e8d2;
}
.delete {
    color: red;
    font-weight: bold;
    text-decoration: none;
}
img.gal {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}