/* 
========================================================================
   DESIGN SYSTEM & VARIABLES
======================================================================== 
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    /* Color Palette */
    --color-primary: #709226;          /* Natural green from mockups */
    --color-primary-hover: #5d7a20;    /* Darker green for hover */
    --color-primary-light: #f1f6e9;   /* Light green for backgrounds */
    --color-primary-dark: #4b621a;     /* Accent green dark */
    
    --color-text-dark: #121212;        /* Off-black for high contrast */
    --color-text-muted: #626262;       /* Slate grey for secondary text */
    --color-text-light: #ffffff;
    
    --color-bg-body: #fdfcf7;          /* Creamy warm white background */
    --color-bg-white: #ffffff;
    --color-bg-gray: #f5f5f0;          /* Warm grey/cream */
    --color-border: #e6e5dd;           /* Delicate warm border */
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', 'Inter', sans-serif;
    
    /* Transitions & Shadows */
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(112, 146, 38, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.08);
    
    /* Layout Constants */
    --max-width: 1280px;
    --header-height: 80px;
}

/* 
========================================================================
   BASE RESET & GLOBAL STYLES
======================================================================== 
*/
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-body);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

/* 
========================================================================
   TYPOGRAPHY
======================================================================== 
*/
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.25;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

.text-center { text-align: center; }

/* Buttons & Links */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    gap: 8px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(112, 146, 38, 0.2);
}

.btn-outline {
    border: 1.5px solid var(--color-border);
    color: var(--color-text-dark);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* 
========================================================================
   LAYOUT UTILITIES
======================================================================== 
*/
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

/* 
========================================================================
   HEADER & MENU
======================================================================== 
*/
.site-header {
    height: var(--header-height);
    background-color: rgba(253, 252, 247, 0.85);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--color-border);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo img {
    height: 48px;
    width: auto;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Sliding search input */
.search-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    gap: 8px;
}

.search-input {
    width: 0;
    opacity: 0;
    padding: 0;
    font-size: 0.9rem;
    border: 1px solid transparent;
    border-radius: 20px;
    background-color: var(--color-bg-white);
    transition: width 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
    outline: none;
    box-sizing: border-box;
}

.search-wrapper.active .search-input {
    width: 180px;
    opacity: 1;
    padding: 6px 14px;
    border-color: var(--color-border);
}

.search-wrapper.active .search-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(112, 146, 38, 0.1);
}

.action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.action-icon:hover {
    background-color: var(--color-bg-gray);
    color: var(--color-primary);
}

.action-icon img {
    width: 20px;
    height: 20px;
}

.btn-contact-header {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border-radius: 20px;
    padding: 8px 18px;
    font-size: 0.95rem;
    font-weight: 500;
}

.btn-contact-header:hover {
    background-color: var(--color-primary-hover);
}

.lang-switch {
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    gap: 4px;
}

.lang-switch a {
    color: var(--color-text-muted);
}

.lang-switch a.active {
    color: var(--color-text-dark);
    font-weight: 700;
}

/* Menu Dropdown - Match Meniu.jpg */
.menu-toggle {
    position: relative;
}

.custom-dropdown-menu {
    position: absolute;
    top: 55px;
    right: 0;
    background-color: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 220px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-smooth);
    z-index: 110;
}

.custom-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-dropdown-menu li a {
    display: block;
    padding: 10px 24px;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    font-weight: 400;
}

.custom-dropdown-menu li a:hover {
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    padding-left: 28px;
}

/* 
========================================================================
   FOOTER SECTION & NEWSLETTER
======================================================================== 
*/
/* Newsletter Banner */
.newsletter-section {
    position: relative;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    margin: 40px auto;
    width: 90%;
    max-width: var(--max-width);
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.newsletter-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    color: var(--color-text-light);
    margin-bottom: 10px;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 5px;
    max-width: 480px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

.newsletter-form input {
    flex-grow: 1;
    padding: 10px 20px;
    font-size: 0.95rem;
    color: var(--color-text-dark);
}

.newsletter-form button {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.newsletter-form button:hover {
    background-color: var(--color-primary-hover);
}

/* Main Footer */
.site-footer {
    background-color: var(--color-bg-white);
    border-top: 1px solid var(--color-border);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Left Funding block - match mockup */
.footer-funding-block {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 30px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-funding-block .funding-logos {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 25px;
    background: white;
    padding: 10px;
    border-radius: 8px;
}

.footer-funding-block .funding-logos img {
    height: 35px;
    width: auto;
}

.footer-funding-block .funding-logos img.logo-guv {
    height: 48px;
}

.footer-funding-block .funding-logos img.logo-pocidif {
    height: 42px;
}

.footer-funding-block h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 500;
    margin-bottom: 20px;
}

.footer-funding-block .proj-link {
    color: var(--color-text-light);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
}

.footer-funding-block .proj-link:hover {
    text-decoration: underline;
}

.footer-funding-block .fineprint {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

/* Footer columns */
.footer-column h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--color-text-muted);
}

.footer-column ul li a:hover {
    color: var(--color-primary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-bg-gray);
    transition: var(--transition-smooth);
}

.social-link:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

/* Bottom Strip */
.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }
}

/* 
========================================================================
   HOME PAGE SPECIFIC STYLES
======================================================================== 
*/
/* Hero Section */
.home-hero {
    padding: 60px 0;
    text-align: center;
}

.hero-mockup-container {
    position: relative;
    max-width: 900px;
    margin: 40px auto 30px;
    padding: 0 20px;
}

.hero-mockup-frame {
    background: #000;
    border-radius: 24px;
    padding: 8px;
    box-shadow: var(--shadow-lg);
}

.hero-mockup-image {
    width: 100%;
    height: auto;
    border-radius: 18px;
    object-fit: cover;
}

.hero-funding-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    padding: 15px 30px;
    background-color: var(--color-bg-white);
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.hero-funding-strip .logos {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-funding-strip .logos img {
    height: 55px;
    width: auto;
}

.hero-funding-strip .logos img.logo-guv {
    height: 75px;
}

.hero-funding-strip .logos img.logo-pocidif {
    height: 65px;
}

/* About Section */
.home-about {
    background-color: var(--color-bg-white);
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-tag {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
}

.about-three-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .about-three-cols {
        grid-template-columns: 1fr;
    }
}

.about-col-item {
    display: flex;
    gap: 20px;
}

.about-col-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary-light);
    border-radius: 12px;
    flex-shrink: 0;
}

.about-col-icon img {
    width: 24px;
    height: 24px;
}

.about-col-content h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.about-col-content p {
    font-size: 0.95rem;
}

.about-banner-img {
    border-radius: 20px;
    overflow: hidden;
    max-height: 450px;
    box-shadow: var(--shadow-md);
}

.about-banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Home Products Section */
.home-products {
    background-color: var(--color-bg-body);
}

.home-products-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .home-products-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.home-products-list {
    margin: 30px 0;
}

.home-products-item {
    display: flex;
    gap: 20px;
    border-top: 1px solid var(--color-border);
    padding: 20px 0;
}

.home-products-num {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-primary);
    font-weight: 600;
}

.home-products-info h4 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.home-products-info p {
    font-size: 0.95rem;
    margin: 0;
}

.home-products-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Why Us Section */
.home-why {
    background-color: var(--color-bg-white);
}

.why-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.why-container p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Quote banner */
.quote-section {
    padding: 80px 0;
    background-color: var(--color-bg-body);
}

.quote-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .quote-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.quote-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.quote-content {
    padding-left: 20px;
}

.quote-content h2 {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.4;
}

.quote-author {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
}

/* Home Project Cta */
.home-project-cta {
    background-color: var(--color-bg-white);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 50px 0;
}

.cta-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-flex h3 {
    font-family: var(--font-body);
    font-weight: 500;
    margin: 0;
}

/* 
========================================================================
   PRODUCTS LIST PAGE
======================================================================== 
*/
.products-header-banner {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.products-header-banner::before {
    content: '';
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0, 0, 0, 0.15);
}

.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    padding: 60px 0;
}

@media (max-width: 992px) {
    .products-layout {
        grid-template-columns: 1fr;
    }
}

/* Sidebar filter styles */
.filter-sidebar {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 24px;
    height: fit-content;
}

.filter-group {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.filter-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.filter-title {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-list li {
    margin-bottom: 10px;
}

.filter-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.filter-list li a:hover,
.filter-list li.active a {
    color: var(--color-primary);
}

.filter-list .icon-arrow {
    font-size: 0.8rem;
    transition: var(--transition-smooth);
}

.filter-list li a:hover .icon-arrow {
    transform: translateX(3px);
}

.price-range-container {
    padding: 10px 5px;
}

.price-slider {
    width: 100%;
    accent-color: var(--color-primary);
    margin-bottom: 10px;
}

.price-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.size-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    cursor: pointer;
}

.size-options label input[type="checkbox"] {
    accent-color: var(--color-primary);
    width: 16px;
    height: 16px;
}

/* Products grid & cards */
.products-content h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.products-grid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.sort-dropdown select {
    border: 1px solid var(--color-border);
    padding: 6px 12px;
    border-radius: 8px;
    background-color: var(--color-bg-white);
    cursor: pointer;
    font-size: 0.9rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background-color: var(--color-bg-white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.product-image-wrapper {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: var(--color-bg-gray);
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.stock-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.stock-badge.in-stock {
    background-color: rgba(112, 146, 38, 0.9);
    color: var(--color-text-light);
}

.stock-badge.out-of-stock {
    background-color: rgba(150, 150, 150, 0.9);
    color: var(--color-text-light);
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-info h3 a:hover {
    color: var(--color-primary);
}

.product-price {
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-top: auto;
}

/* Pagination styles */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 15px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background-color: var(--color-bg-white);
    font-weight: 500;
}

.pagination-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.pagination-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-white);
    font-weight: 500;
}

.pagination-num:hover,
.pagination-num.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text-light);
}

/* 
========================================================================
   PRODUCT DETAILS PAGE
======================================================================== 
*/
.details-container {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 30px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .details-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Gallery slider */
.details-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image {
    aspect-ratio: 1.2;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--color-bg-gray);
    border: 1px solid var(--color-border);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbs-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumb-item {
    aspect-ratio: 1.1;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background-color: var(--color-bg-gray);
}

.thumb-item.active {
    border-color: var(--color-primary);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Info Panel */
.details-info {
    display: flex;
    flex-direction: column;
}

.details-title-row {
    margin-bottom: 15px;
}

.details-title-row h1 {
    font-size: 2.5rem;
    margin: 0 0 10px;
}

.details-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.details-meta .stock-badge {
    position: static;
}

.details-price {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 25px;
}

.details-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

.details-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 35px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 30px;
}

.details-actions .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    width: fit-content;
}

.shipping-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.shipping-info img {
    width: 18px;
    height: 18px;
}

/* Tabs specs */
.details-tabs {
    margin-top: 10px;
}

.tab-headers {
    display: flex;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 20px;
    gap: 30px;
}

.tab-btn {
    padding: 10px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: var(--transition-smooth);
}

.tab-btn.active {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.specs-table {
    width: 100%;
}

.specs-row {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    border-radius: 8px;
}

.specs-row:nth-child(odd) {
    background-color: var(--color-bg-gray);
}

.specs-label {
    font-weight: 500;
}

.specs-value {
    color: var(--color-text-muted);
}

/* Similar products header image mockup decoration */
.details-decoration-banner {
    height: 350px;
    border-radius: 24px;
    overflow: hidden;
    margin-top: 80px;
    box-shadow: var(--shadow-lg);
}

.details-decoration-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 
========================================================================
   ABOUT US PAGE
======================================================================== 
*/
.about-page-title h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 60px;
}

.about-page-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .about-page-cols {
        grid-template-columns: 1fr;
    }
}

.about-page-cols p {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.about-page-paras {
    border-top: 1px solid var(--color-border);
    padding-top: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.about-page-paras p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* 
========================================================================
   PROJECT PAGE
======================================================================== 
*/
.project-header-section {
    padding: 80px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--color-text-light);
    border-radius: 24px;
    margin-bottom: 60px;
}

.project-header-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
    border-radius: 24px;
    z-index: 1;
}

.project-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.project-header-content .logos {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    background: white;
    padding: 12px 30px;
    border-radius: 12px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.project-header-content .logos img {
    height: 35px;
}

.project-header-content h1 {
    color: var(--color-text-light);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.4;
}

.project-body {
    max-width: 800px;
    margin: 0 auto 80px;
}

.project-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: center;
}

/* Announcement sheet - match declaratie.png */
.announcement-box {
    background-color: var(--color-bg-white);
    border: 1.5px solid var(--color-border);
    border-radius: 16px;
    padding: 50px;
    max-width: 850px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 576px) {
    .announcement-box {
        padding: 25px;
    }
}

.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid var(--color-primary);
    padding-bottom: 25px;
    margin-bottom: 30px;
}

.announcement-header img {
    height: 45px;
    width: auto;
}

.announcement-title {
    text-align: center;
    margin-bottom: 30px;
}

.announcement-title h2 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-text-dark);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.announcement-title h3 {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--color-text-dark);
    font-style: italic;
    line-height: 1.4;
}

.announcement-content {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333;
}

.announcement-content p {
    text-align: justify;
    margin-bottom: 20px;
    color: #333;
}

/* 
========================================================================
   GALERIE PAGE
======================================================================== 
*/
.gallery-intro h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.gallery-grid-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 50px 0;
}

@media (max-width: 992px) {
    .gallery-grid-layout {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-grid-layout {
        grid-template-columns: 1fr;
    }
}

.gallery-item {
    aspect-ratio: 0.75;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-gray);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    position: relative;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Modal lightbox for gallery */
.lightbox-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* 
========================================================================
   SUSTAINABLE DEVELOPMENT (PRINCIPII ORIZONTALE)
======================================================================== 
*/
/* Video Top Section */
.sus-video-hero {
    height: 100vh;
    width: 100vw;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sus-video-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
}

.sus-video-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 2;
}

.sus-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-text-light);
    max-width: 800px;
    padding: 0 20px;
}

.sus-hero-content .section-tag {
    color: var(--color-primary-light);
}

.sus-hero-content h1 {
    color: var(--color-text-light);
    margin-bottom: 25px;
}

.sus-hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    line-height: 1.6;
}

/* Path Scroll Section */
.sus-scroll-container {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    padding: 100px 0;
    width: 100%;
    overflow: hidden;
}

/* Forest road container */
.road-layout-wrapper {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 100px 0;
    min-height: 2500px; /* Force scroll height to span down the road */
}

/* Card positioning on the sides of the road */
.sus-step-card {
    position: absolute;
    width: 42%;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 10;
}

/* Animating classes triggered by intersection observer */
.sus-step-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.sus-step-card.left-side {
    left: 0;
}

.sus-step-card.right-side {
    right: 0;
}

.sus-step-card h3 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sus-step-card h3 img {
    width: 24px;
    height: 24px;
}

.sus-step-card p {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* Glowing paw overlays */
.paw-glow-highlight {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(112, 146, 38, 0.3);
    z-index: 5;
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.paw-glow-highlight::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 25px; height: 25px;
    background-color: var(--color-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px var(--color-primary);
}

.paw-glow-highlight.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(112, 146, 38, 0.6);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(112, 146, 38, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(112, 146, 38, 0);
    }
}

/* Absolute coordinates for the paw prints in E:\oldtonew.ro\resurse\Imagini\background - dezvoltare durabila.jpg */
/* These map to the vertical positions in the image */
.paw-1  { top: 5.5%;  left: 17%; }
.paw-2  { top: 12.0%; left: 19%; }
.paw-3  { top: 13.5%; left: 32%; }
.paw-4  { top: 20.0%; left: 21%; }
.paw-5  { top: 26.5%; left: 30%; }
.paw-6  { top: 28.5%; left: 48%; }
.paw-7  { top: 33.0%; left: 50%; }
.paw-8  { top: 39.5%; left: 63%; }
.paw-9  { top: 44.0%; left: 70%; }
.paw-10 { top: 45.0%; left: 86%; }
.paw-11 { top: 51.5%; left: 87%; }
.paw-12 { top: 58.0%; left: 96%; }
.paw-13 { top: 62.0%; left: 92%; }

/* Mobile Adaptations for Scroll road layout */
@media (max-width: 992px) {
    .road-layout-wrapper {
        min-height: auto;
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 50px 0;
    }
    
    .sus-step-card {
        position: static;
        width: 100%;
        margin-bottom: 0;
        transform: none !important;
        opacity: 1 !important;
    }
    
    .paw-glow-highlight {
        display: none !important;
    }
    
    .sus-scroll-container {
        background-image: none !important; /* Hide image, make it clean on mobile */
        background-color: var(--color-bg-body);
    }
}

/* 
========================================================================
   CONTACT PAGE
======================================================================== 
*/
.contact-hero-wrapper {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 80px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.contact-hero-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(18, 18, 18, 0.4);
    z-index: 1;
}

/* Glassmorphism Card Box */
.contact-glass-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    box-shadow: var(--shadow-lg);
    width: 100%;
}

@media (max-width: 992px) {
    .contact-glass-card {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 30px;
    }
}

/* Form Styles */
.contact-form h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 576px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.col-span-2 {
    grid-column: span 2;
}

@media (max-width: 576px) {
    .form-group.col-span-2 {
        grid-column: auto;
    }
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    background-color: var(--color-bg-white);
    border: 1.5px solid var(--color-border);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(112, 146, 38, 0.15);
}

.contact-form button.btn {
    padding: 12px 35px;
    font-size: 1rem;
    border-radius: 20px;
}

/* Right Green Box */
.contact-green-box {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-item h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary-light);
    margin-bottom: 6px;
}

.contact-info-item p {
    color: var(--color-text-light);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.contact-green-box .social-links .social-link {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-text-light);
}

.contact-green-box .social-links .social-link:hover {
    background-color: var(--color-text-light);
    color: var(--color-primary);
}

/* Success notification message */
.form-response-msg {
    grid-column: span 2;
    padding: 12px;
    border-radius: 8px;
    background-color: rgba(112, 146, 38, 0.1);
    color: var(--color-primary-dark);
    font-size: 0.95rem;
    font-weight: 500;
    display: none;
    border: 1px solid var(--color-primary);
}

/* Dropdown menu active item styling */
.custom-dropdown-menu li a.active {
    color: var(--color-primary) !important;
    font-weight: 600 !important;
    background-color: var(--color-primary-light);
}

/* Mobile Header Responsiveness Updates */
@media (max-width: 768px) {
    .search-wrapper {
        display: none !important;
    }
    .custom-dropdown-menu {
        top: 45px !important;
    }
    .btn-contact-header {
        display: none !important;
    }
    .logo img {
        height: 38px !important;
        width: auto !important;
    }
    .site-header {
        height: 60px !important;
    }
    :root {
        --header-height: 60px !important;
    }
    .nav-actions {
        gap: 10px !important;
    }
    .action-icon {
        width: 32px !important;
        height: 32px !important;
    }
    .action-icon img {
        width: 16px !important;
        height: 16px !important;
    }
}
