/*
Theme Name: Alpro
Theme URI: https://www.alpro.si
Author: Plenum IT d.o.o.
Version: 1
Text Domain: alpro
*/

.admin-bar {
  padding-top: 32px;
}
.admin-bar .fixed-top {
  top: 32px;
}

:root {
    --alpro-green: #009b4d;
    --alpro-dark: #1a1a1a;
    --alpro-gray-bg: #dce3e2; /* The light greenish-grey from the first card */
    --text-dark: #333333;
}

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

/* --- Utilities --- */
.bg-alpro-green { background-color: var(--alpro-green) !important; color: white; }
.bg-alpro-dark { background-color: black !important; color: white; }
.bg-alpro-gray { background-color: var(--alpro-gray-bg) !important; color: black; }
.text-alpro-green { color: var(--alpro-green) !important; }

.fw-800 { font-weight: 800; }

/* --- Navbar --- */
.navbar {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    color: #555 !important;
    margin: 0 10px;
}

.nav-link:hover { color: var(--alpro-green) !important; }

.btn-inquiry {
    border: 2px solid #ccc;
    border-radius: 0;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 8px 20px;
    color: #333;
    background: transparent;
    transition: all 0.3s;
}

.btn-inquiry:hover {
    border-color: var(--alpro-green);
    color: var(--alpro-green);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    background-color: #f0f0f0;
    height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin-left: auto; /* Push to right */
    margin-right: 10%;
    text-align: right;
}

.hero-text {
    font-size: 1.8rem;
    line-height: 1.4;
    color: #333;
}

.hero-text strong {
    font-weight: 800;
}

/* --- Section Headers (Icons) --- */
.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    margin-top: 4rem;
}

.header-icon-svg {
    height: 60px;
    width: auto;
    margin-right: 20px;
    stroke: black;
    stroke-width: 2;
    fill: none;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- Product Cards --- */
.product-card {
    height: 250px;
    overflow: hidden;
    transition: transform 0.3s;
    margin-bottom: 30px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card-text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    height: 100%;
}

.card-title-small {
    font-size: 0.9rem;
    margin-bottom: 0;
    font-weight: 400;
}

.card-title-large {
    font-size: 1.4rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
}

.card-img-col {
    height: 100%;
    padding: 0;
}

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

/* --- About Section --- */
.about-section {
    margin-top: 4rem;
}

.about-text-box {
    background-color: var(--alpro-green);
    color: white;
    padding: 4rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-year {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.btn-more {
    background-color: rgba(255,255,255,0.2);
    color: white;
    border: none;
    padding: 10px 25px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.8rem;
    width: fit-content;
    margin-top: 2rem;
    transition: background 0.3s;
}

.btn-more:hover {
    background-color: white;
    color: var(--alpro-green);
}

.about-img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
}

/* --- Contact Form Section --- */
.contact-section {
    position: relative;
    padding: 5rem 0;
    background-color: #333;
    background-image: url('https://placehold.co/1920x600/555/666?text=Background+Pipes+Texture'); /* Simulating the dark pipe bg */
    background-size: cover;
    background-position: center;
}

.contact-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
}

.contact-container {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.form-control {
    border-radius: 0;
    border: none;
    padding: 12px 15px;
    margin-bottom: 1rem;
}

.btn-submit {
    background-color: var(--alpro-green);
    color: white;
    border: none;
    border-radius: 0;
    padding: 10px 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-submit:hover {
    background-color: #007a3d;
    color: white;
}

/* --- Footer --- */
footer {
    background-color: black;
    color: white;
    padding: 4rem 0 2rem;
    font-size: 0.85rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-col h5 {
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer-link {
    color: #aaa;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.footer-link:hover { color: white; }

/* Grid Background Effect (Subtle lines) */
.grid-bg {
    background-image: 
        linear-gradient(#f5f5f5 1px, transparent 1px),
        linear-gradient(90deg, #f5f5f5 1px, transparent 1px);
    background-size: 40px 40px;
}