@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');

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

html, body {
    width: 100%;
}

:root {
    --primary-color: #144227;
    --accent-yellow: #FFEB3B;
    --text-light: #ffffff;
    --mint-green: #144227;
    --pea-green: #B8C197;
    --vertigo-grey: #262626;
}

body {
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    background-image: url('img/background.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: #B8C197;
    color: var(--primary-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ===== WRAPPER - VŠECHNO JE OMEZENO NA 1200PX ===== */
header, .navbar, main, footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===== HEADER ===== */
header {
    background: linear-gradient(180deg, #8F9472 0%, #B8C197 100%);
    padding: 1.5rem 0 0 0;
    margin-bottom: -12px;
    position: relative;
    z-index: 10;
}

.header-container {
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

header .logo {
    width: 600px;
    height: auto;
}

header .logo img {
    width: 100%;
    height: auto;
    display: block;
}

.language-selector {
    position: fixed;
    right: 2rem;
    top: 1.5rem;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    z-index: 51;
}

.language-selector:hover {
    color: var(--accent-yellow);
}

/* ===== NAVBAR ===== */
.navbar {
    background-color: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 100%);
}

.nav-menu {
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    display: block;
    padding: 1rem 0;
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link.active:hover {
    transform: scale(1.0);
}

.nav-link:hover {
    color: var(--accent-yellow);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8),
                 0 0 20px rgba(255, 215, 0, 0.6);
}

.nav-link:not(.active):hover {
    transform: scale(1.1);
}

.nav-link.active {
    color: var(--accent-yellow);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8),
                 0 0 20px rgba(255, 215, 0, 0.6);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-yellow);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

/* ===== MAIN CONTENT ===== */
main {
    flex: 1;
    padding: 2rem 1rem;
}

.main-content {
    width: 100%;
    max-width: 1200px;
    padding: 0 1.5rem;
    background-color: transparent;
    margin: 0 auto;
}

/* Všechny prvky v main-content jsou automaticky omezeny */
.page-header {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: slideInUp 0.8s ease-out forwards;
}

.page-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    font-weight: 500;
}

.hero-section {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}



.contact-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(20, 66, 39, 0.1);
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(20, 66, 39, 0.08);
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.1s forwards;
}

.contact-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(20, 66, 39, 0.1);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-label {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.contact-value {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-value a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.contact-value a:hover {
    color: var(--accent-yellow);
    text-decoration: underline;
}

.contact-form {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(20, 66, 39, 0.1);
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(20, 66, 39, 0.08);
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.2s forwards;
}

.contact-form h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form textarea {
    width: 100%;
    min-height: 150px;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
    box-sizing: border-box;
}

.contact-form textarea:focus {
    outline: none;
    border-color: #144227;
    background-color: rgba(255, 255, 255, 0.8);
}

.material-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(20, 66, 39, 0.1);
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(20, 66, 39, 0.05);
    opacity: 0;
    animation: slideInUp 0.8s ease-out forwards;
}

.material-section:nth-child(1) {
    animation-delay: 0.1s;
}

.material-section:nth-child(2) {
    animation-delay: 0.3s;
}

.material-section:nth-child(3) {
    animation-delay: 0.5s;
}

.material-section h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 0;
    animation: slideInUp 0.6s ease-out;
}

.material-section h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin: 1.5rem 0 1rem 0;
    animation: slideInUp 0.6s ease-out 0.2s both;
}

.material-section p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
    animation: fadeIn 0.8s ease-out;
}

.material-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    animation: slideInUp 0.7s ease-out 0.1s both;
}

.material-section li {
    color: #666;
    line-height: 1.8;
    margin-bottom: 0.8rem;
    animation: fadeIn 0.6s ease-out;
}

.material-section li strong {
    color: var(--primary-color);
}

.highlight-box {
    background: linear-gradient(135deg, rgba(20, 66, 39, 0.08) 0%, rgba(184, 193, 151, 0.08) 100%);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    margin: 1.5rem 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.3s forwards;
}

.highlight-box strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.product-section-image {
    width: 100%;
    margin: 1.5rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(20, 66, 39, 0.1);
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.2s forwards;
}

.product-section-image img {
    width: 100%;
    height: auto;
    display: block;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(20, 66, 39, 0.02);
    border-radius: 8px;
    overflow: hidden;
    margin: 1rem 0;
    opacity: 0;
    animation: slideInUp 0.8s ease-out forwards;
}

table th {
    background: linear-gradient(135deg, #144227 0%, #1a5233 100%);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    border-bottom: 2px solid rgba(20, 66, 39, 0.3);
}

table td {
    padding: 1rem;
    color: #666;
    border-bottom: 1px solid rgba(20, 66, 39, 0.08);
}

table tr {
    animation: fadeIn 0.6s ease-out;
}

table tr:nth-child(2) {
    animation-delay: 0.1s;
}

table tr:nth-child(3) {
    animation-delay: 0.2s;
}

table tr:nth-child(4) {
    animation-delay: 0.3s;
}

table tr:nth-child(5) {
    animation-delay: 0.4s;
}

/* ===== FOOTER ===== */
footer {
    background-color: #B8C197;
    border-top: 2px solid rgba(20, 66, 39, 0.2);
    padding: 2rem;
}

.footer-content {
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(20, 66, 39, 0.2);
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

.footer-content p {
    margin: 0;
}

.cookie-notice {
    font-size: 0.85rem;
    color: #666;
}

.footer-logo {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.1em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 1.5rem;
        padding: 0 1rem;
    }

    header {
        margin-bottom: -11px;
    }

    header .logo {
        width: 400px;
    }

    main {
        padding: 2rem 1rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 0.5rem;
        padding: 0 1rem;
    }

    .nav-link {
        padding: 0.8rem 0.5rem;
        font-size: 0.9rem;
    }

    header {
        margin-bottom: -9px;
    }

    header .logo {
        width: 300px;
    }

    .page-header h2 {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        padding: 0 1rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    main {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    header {
        margin-bottom: -7px;
    }

    header .logo {
        width: 200px;
    }

    .nav-menu {
        gap: 0.3rem;
        padding: 0 0.5rem;
    }

    .nav-link {
        padding: 0.6rem 0.3rem;
        font-size: 0.75rem;
    }

    main {
        padding: 1rem;
    }

    .page-header h2 {
        font-size: 1.5rem;
    }
}

/* ===== PRODUCT DETAIL PAGE STYLES ===== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 0 auto 3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(20, 66, 39, 0.1);
    box-shadow: 0 8px 32px rgba(20, 66, 39, 0.08);
    width: 100%;
    opacity: 1;
    animation: slideInUp 0.8s ease-out forwards;
}

.product-image-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.5rem;
    order: 1;
}

.product-main-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    display: block;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-main-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #144227;
    margin-bottom: 1rem;
}

.product-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.price {
    font-size: 1.8rem;
    color: #144227;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    display: inline-block;
    background: rgba(20, 66, 39, 0.08);
}

.color-selector {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.color-button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.color-button.active {
    border-color: #144227;
    transform: scale(1.15);
    box-shadow: 0 8px 20px rgba(20, 66, 39, 0.3);
}

.color-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.size-selector {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.size-button {
    padding: 0.6rem 1.2rem;
    border: 2px solid #144227;
    background: white;
    color: #144227;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.size-button:hover {
    background: rgba(20, 66, 39, 0.05);
}

.size-button.active {
    background: linear-gradient(135deg, #144227 0%, #1a5233 100%);
    color: white;
    border-color: #144227;
}

.size-label {
    display: block;
    font-weight: 600;
    color: #144227;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.specs-table {
    width: 100%;
    margin-bottom: 1.5rem;
    border-collapse: collapse;
    background: rgba(20, 66, 39, 0.04);
    border-radius: 8px;
    overflow: hidden;
}

.specs-table tr {
    border-bottom: 1px solid rgba(20, 66, 39, 0.08);
}

.specs-table td {
    padding: 0.8rem 1.2rem;
    color: #666;
    font-size: 0.9rem;
}

.specs-table td:first-child {
    color: #144227;
    font-weight: 600;
    width: 30%;
}

.specs {
    background: linear-gradient(135deg, rgba(20, 66, 39, 0.05) 0%, rgba(20, 66, 39, 0.02) 100%);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.spec-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(20, 66, 39, 0.1);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: #144227;
}

.spec-value {
    color: #666;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #144227 0%, #1a5233 100%);
    color: white;
    flex: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(20, 66, 39, 0.3);
}

.btn-secondary {
    background: rgba(20, 66, 39, 0.1);
    color: #144227;
    border: 2px solid #144227;
    flex: 1;
}

.btn-secondary:hover {
    background: #144227;
    color: white;
}

.breadcrumb {
    margin-bottom: 2rem;
    margin-top: 2rem;
    display: flex;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: #144227;
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #999;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MODAL STYLES */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    max-height: 95vh;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

.modal-content h3 {
    color: #144227;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #144227;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #144227;
    background-color: rgba(255, 255, 255, 0.8);
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.form-group.checkbox input[type="checkbox"] {
    width: auto;
    margin-right: 0.8rem;
    margin-top: 0.3rem;
    cursor: pointer;
}

.form-group.checkbox label {
    margin: 0;
    font-weight: 400;
    font-size: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
}

.form-group.checkbox a {
    color: #144227;
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    background-color: #144227;
    color: white;
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #0f2d1b;
}

.btn-add-product {
    width: 100%;
    background-color: rgba(20, 66, 39, 0.1);
    color: #144227;
    padding: 0.8rem;
    border: 1px solid #144227;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.btn-add-product:hover {
    background-color: #144227;
    color: white;
}

.product-row {
    background: rgba(20, 66, 39, 0.03);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 3px solid #144227;
}

.product-row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(20, 66, 39, 0.1);
}

.product-row-title {
    font-weight: 600;
    color: #144227;
    font-size: 0.95rem;
}

.btn-remove-product {
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-remove-product:hover {
    background: #c0392b;
}

.hidden {
    display: none !important;
}

.product-preview {
    background: rgba(20, 66, 39, 0.05);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 1rem;
}

.product-preview img {
    max-width: 100%;
    max-height: 150px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-text {
    background: rgba(20, 66, 39, 0.05);
    padding: 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
    border-left: 2px solid #27ae60;
}

.eshop-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(20, 66, 39, 0.1);
    box-shadow: 0 8px 24px rgba(20, 66, 39, 0.08);
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    animation: slideInUp 0.8s ease-out forwards;
}

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

.form-section h3 {
    color: #144227;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #f0ad4e;
}

.form-section p {
    color: #666;
    margin-bottom: 1rem;
}

/* ===== PRODUCT GALLERY (PRODUCTS LISTING PAGE) ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin: 0 auto 3rem;
    width: 100%;
    max-width: 1200px;
    opacity: 0;
    animation: slideInUp 0.8s ease-out forwards;
}

.product-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(20, 66, 39, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(20, 66, 39, 0.1);
    opacity: 0;
    animation: slideInUp 0.8s ease-out forwards;
}

.product-card:nth-child(1) {
    animation-delay: 0.1s;
}

.product-card:nth-child(2) {
    animation-delay: 0.2s;
}

.product-card:nth-child(3) {
    animation-delay: 0.3s;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 36px rgba(20, 66, 39, 0.15);
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

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

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

/* Product info variant for product-detail page */
.product-detail .product-info {
    justify-content: flex-start;
    order: 2;
}

.product-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.product-info p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.2rem;
    line-height: 1.6;
    flex: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.product-link {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, #144227 0%, #1a5233 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.product-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(20, 66, 39, 0.3);
    background: linear-gradient(135deg, #1a5233 0%, #0f2d1b 100%);
}

.product-link:active {
    transform: translateY(0);
}

.product-footer .price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    padding: 0;
    background: transparent;
    display: inline;
}

/* Responsive Product Gallery */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .product-card {
        box-shadow: 0 6px 18px rgba(20, 66, 39, 0.08);
    }

    .product-image {
        height: 220px;
    }

    .product-info h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-image {
        height: 250px;
    }

    .product-info {
        padding: 1.2rem;
    }

    .product-info h3 {
        font-size: 1.2rem;
    }

    .product-info p {
        font-size: 0.9rem;
    }

    .product-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .product-link {
        width: 100%;
        text-align: center;
    }

    .product-footer .price {
        width: 100%;
        text-align: center;
    }
}

/* Responsive Product Detail */
@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }

    .product-image-section {
        order: 1;
    }

    .product-info {
        order: 2;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .price {
        font-size: 1.5rem;
        padding: 0.8rem 1.2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .spec-item {
        grid-template-columns: 120px 1fr;
    }
}

/* ===== CAROUSEL STYLES ===== */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #f0f0f0;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
    position: relative;
}

/* Carousel Indicators (Kuličky) */
.carousel-indicators {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding: 20px 0;
    background-color: transparent;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.indicator.active {
    background-color: var(--accent-yellow);
    border-color: var(--accent-yellow);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    width: 14px;
    height: 14px;
}

/* Carousel Text */
.carousel-text-container {
    width: 100%;
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 10px 10px 10px 10px;
    margin: 20px auto;
    max-width: 1200px;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.carousel-text {
    color: var(--primary-color);
    pointer-events: none;
    width: 100%;
    position: absolute;
    bottom: 30px;
    left: 0;
    padding: 0 40px;
    box-sizing: border-box;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-text.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.carousel-text.exiting {
    transform: translateX(-100%);
    opacity: 0;
}

.carousel-text h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 700;
}

.carousel-text p {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* Responsive Carousel */
@media (max-width: 768px) {
    .carousel-indicators {
        padding: 15px 0;
        gap: 10px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .carousel-text h2 {
        font-size: 1.5rem;
    }

    .carousel-text p {
        font-size: 1rem;
    }

    .carousel-text-container {
        padding: 25px 30px;
        margin: 15px auto;
    }

    .carousel-text {
        padding: 0 30px;
        bottom: 25px;
    }
}

@media (max-width: 480px) {
    .carousel-indicators {
        padding: 12px 0;
        gap: 8px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    .carousel-text h2 {
        font-size: 1.3rem;
    }

    .carousel-text p {
        font-size: 0.9rem;
    }

    .carousel-text-container {
        padding: 20px;
        border-radius: 8px;
        margin: 15px auto;
    }

    .carousel-text {
        padding: 0 20px;
        bottom: 20px;
    }
}

