* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e5631;
    --secondary-color: #2d6a4f;
    --accent-color: #40916c;
    --dark-color: #333;
    --light-color: #f9f7f4;
    --border-color: #ddd;
    --success-color: #27ae60;
    --text-color: #333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.header-banner {
    width: 100%;
    overflow: hidden;
    background-color: #f5f5f5;
}

.header-banner img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 300px;
    object-fit: cover;
}

.navbar {
    background-color: #000000;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}}}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

/* Main */
main {
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%), url('../assets/slika2.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    padding: 150px 20px;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content .subtitle {
    font-size: 1.5rem;
    color: #ffb347;
}

/* Banner */
.banner {
    width: 100%;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: cover;
}

/* Sections */
.section {
    padding: 60px 20px;
}

.section h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 2rem 0 1.5rem 0;
}

.intro-text {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.about-card {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-card:first-child {
    background-image: url('../assets/slika3.jpg');
    background-size: cover;
    background-position: center;
    background-color: transparent;
}

.about-card:nth-child(2) {
    background-image: url('../assets/slika4.jpg');
    background-size: cover;
    background-position: center;
    background-color: transparent;
}

.about-card:nth-child(3) {
    background-image: url('../assets/slika5.jpg');
    background-size: cover;
    background-position: center;
    background-color: transparent;
}

.about-card:nth-child(4) {
    background-image: url('../assets/slika6.jpg');
    background-size: cover;
    background-position: center;
    background-color: transparent;
}

.about-card:first-child h3,
.about-card:first-child p,
.about-card:nth-child(2) h3,
.about-card:nth-child(2) p,
.about-card:nth-child(3) h3,
.about-card:nth-child(3) p,
.about-card:nth-child(4) h3,
.about-card:nth-child(4) p {
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9), 1px 1px 2px rgba(0, 0, 0, 0.7);
    font-weight: 500;
}

.about-card:first-child h3,
.about-card:nth-child(2) h3,
.about-card:nth-child(3) h3,
.about-card:nth-child(4) h3 {
    font-weight: 700;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.95);
}

/* Values Section */
.values-section {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.values-list {
    list-style: none;
    margin-top: 1.5rem;
}

.values-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.values-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Motto Section */
.motto-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.motto {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.8;
    border-left: 4px solid var(--accent-color);
    padding-left: 2rem;
}

/* Process Steps */
.process-section h3 {
    color: var(--primary-color);
    margin: 2rem 0 1rem 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.step {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    line-height: 50px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.step h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.product-card {
    background-color: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.product-card.featured {
    border-color: var(--primary-color);
    background-color: var(--light-color);
}

.product-image {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.product-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.product-description {
    color: #666;
    margin-bottom: 1rem;
    font-style: italic;
}

.product-details {
    text-align: left;
    background-color: #f0f0f0;
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.product-details p {
    margin: 0.5rem 0;
}

.product-price {
    display: block;
    margin: 1rem 0;
}

.product-price .price {
    font-size: 1.8rem;
    color: var(--secondary-color);
    font-weight: bold;
}

.product-price .unit {
    font-size: 0.9rem;
    color: #666;
}

/* Info Section */
.info-section {
    margin: 3rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.info-card {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 3px solid var(--secondary-color);
}

.info-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.info-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail {
    padding: 1rem;
    background-color: white;
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
}

.detail h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.detail p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Contact Form */
.contact-form-container {
    background-color: white;
    border: 2px solid var(--border-color);
    padding: 2rem;
    border-radius: 8px;
}

.form-intro {
    color: #666;
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(139, 69, 19, 0.3);
}

.form-message {
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Important Notice */
.important-notice {
    background-color: #fff3cd;
    border: 2px solid #ffc107;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.important-notice h3 {
    color: #856404;
    margin-bottom: 0.5rem;
}

.important-notice p {
    color: #856404;
}

/* Why Us Section */
.why-us-section {
    margin: 3rem 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.why-card {
    background: linear-gradient(135deg, var(--light-color) 0%, white 100%);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.why-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.why-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: #666;
    color: white;
}

.btn-secondary:hover {
    background-color: #555;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.add-to-cart {
    width: 100%;
    margin-top: 1rem;
}

/* Cart Styles */
.empty-cart {
    text-align: center;
    padding: 3rem;
    background-color: var(--light-color);
    border-radius: 8px;
    margin: 2rem 0;
}

.empty-cart p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.cart-items {
    margin: 2rem 0;
    overflow-x: auto;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cart-table thead {
    background-color: var(--primary-color);
    color: white;
}

.cart-table th,
.cart-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.cart-table tbody tr:hover {
    background-color: var(--light-color);
}

.cart-table .remove-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.9rem;
}

.cart-table .remove-btn:hover {
    background-color: #c82333;
}

.quantity-input {
    width: 60px;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 3px;
}

.cart-summary {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    max-width: 500px;
    margin-left: auto;
}

.summary-box {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 2px solid var(--primary-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.summary-note p {
    color: var(--success-color);
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.summary-note p:before {
    content: "✓ ";
}

.cart-summary .btn {
    width: 100%;
    margin-bottom: 1rem;
}

/* Checkout Form */
.form-section {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.form-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.checkout-summary {
    background-color: white;
    border: 2px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.checkout-summary h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

#checkoutItems {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    color: var(--primary-color);
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.form-actions .btn {
    flex: 1;
    padding: 1rem;
}

/* Order Confirmation */
.confirmation-box {
    background: linear-gradient(135deg, var(--light-color) 0%, white 100%);
    border: 3px solid var(--success-color);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin: 2rem 0;
}

.confirmation-box h2 {
    color: var(--success-color);
    margin-bottom: 1rem;
}

.confirmation-message {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.confirmation-details {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.confirmation-details h4 {
    color: var(--primary-color);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.confirmation-details p {
    margin: 0.3rem 0;
}

.confirmation-note {
    background-color: #e3f2fd;
    padding: 1rem;
    border-left: 4px solid #2196F3;
    border-radius: 5px;
    margin: 1.5rem 0;
}

.confirmation-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.confirmation-actions a,
.confirmation-actions button {
    width: 200px;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .subtitle {
        font-size: 1.1rem;
    }

    .section h1 {
        font-size: 2rem;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    .products-grid,
    .about-grid,
    .process-steps,
    .info-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .cart-table {
        font-size: 0.9rem;
    }

    .cart-table th,
    .cart-table td {
        padding: 0.5rem;
    }
}
