/* GLOBAL */
body {
    margin: 0;
    font-family: 'Source Serif 4', serif;
    color: #333;
}
h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}
html {
    scroll-behavior: smooth;
}
/* ================= HEADER ================= */
.header {
    background: #999999;
    padding: 15px 0;
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}
.header-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
	position: relative;
}
.logo-img-fixed {
    width: 200px;
    position: absolute;
    left: 2px;
}
.nav {
    display: flex;
    gap: 25px;
	margin-left: auto;
}
.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}
.nav a:hover {
    color: #FFC300;
}
.menu-toggle {
    display: none;
    font-size: 2rem;
    color: white;
	margin-left: auto;
    cursor: pointer;
}
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 70px;
        right: 0;
        background: #999999;
        width: 100%;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        gap: 15px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }
    .menu-toggle {
        display: block;
    }
    .nav.open {
        display: flex;
    }
    .nav a {
        padding: 10px 0;
        font-size: 1.2rem;
    }
}
/* ================= HERO ================= */
.hero {
	margin-top: 50px;
    width: 100%;
    height: 480px;
    background-image: url('../img/hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.10);
}
.hero-inner {
    position: relative;
    z-index: 2;
    padding-left: 60px;
    max-width: 900px;
    color: white;
}
.hero-inner h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 58px;
    font-weight: 700;
    margin: 0 0 15px 0;
}
.hero-inner p {
    font-family: 'Source Serif 4', serif;
    font-size: 28px;
	font-weight: 400;
    margin-bottom: 45px;
}
.hero-inner .btn {
    display: inline-block;
    background: #FFC300;
    color: black;
    padding: 12px 28px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: 
        transform 0.25s ease,
        box-shadow 0.25s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.hero-inner .btn:hover {
    background: #7195b8;
    transform: translateY(-10px) scale(1.05);
    box-shadow:
        0 0 3px rgba(255,195,0,0.9),
        0 8px 20px rgba(0,0,0,0.25);
}
@media (max-width: 768px) {
    .hero {
        height: 300px;
    }
    .hero-inner {
        padding-left: 20px;
    }
    .hero-inner h1 {
        font-size: 34px;
    }
    .hero-inner p {
        font-size: 16px;
    }
}
/* ================= LOGO KARTICE ================= */
.brand-cards {
    position: relative;
    margin-top: -50px;
    z-index: 5;
}
@media (max-width: 768px) {
    .brand-cards {
        margin-top: 20px;
    }
}
.cards-wrapper {
    display: flex;
    justify-content: center;
    gap: 50px;
}
.card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    width: 180px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid transparent;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
	border-top: 5px solid #FFC300;
    transition: 
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}
.card img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}
.card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow:
        0 0 3px rgba(255,195,0,0.9),
        0 8px 20px rgba(0,0,0,0.25);
}
@media (max-width: 768px) {
    .cards-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .brand-cards {
        margin-top: -40px;
    }
    .card {
        width: 70%;
        height: 100px;
    }
}
/* ================= BELO POLJE ================= */
.belo-polje {
	background: white;
}
/* ================= TEXT SECTION ================= */
.text-section {
    padding: 60px 0;
    background: #f9f9f9;
    text-align: center;
}
.text-section h2 {
    color: #7195b8;
    margin-bottom: 20px;
}
.text-section p {
    max-width: 700px;
    margin: auto;
    line-height: 1.6;
}
/* ================= WIDE PHOTO ================= */
.wide-photo img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
}
/* ============================
   NASVETI – LAYOUT
============================ */
.nasveti {
    padding: 60px 20px;
}
.nasveti-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.nasveti-text {
    flex: 1;
    background: #f5f5f5;
    padding: 25px;
    border-radius: 8px;
}
/* ============================
   KARUSEL – RESPONSIVE
============================ */
.nasveti-carousel {
    flex: 1;
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 8px;
}
.nasveti-carousel .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}
.nasveti-carousel .slide.active {
    opacity: 1;
}
.nasveti-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.nasveti-carousel .dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.nasveti-carousel .dots span {
    width: 20px;
    height: 4px;
    background: #ccc;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.3s;
}
.nasveti-carousel .dots span.active {
    background: #FFC300;
}
@media (max-width: 900px) {
    .nasveti-wrapper {
        flex-direction: column;
    }
    .nasveti-carousel {
        aspect-ratio: 16/10;
    }
}
/* ============================
   SEKCIJA STORITVE
============================ */
.services {
    padding: 80px 0;
    background: #f9f9f9;
    text-align: center;
}
.services-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.service-card {
    background: white;
    width: 300px;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    border-top: 6px solid #FFC300;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    transition: 
        transform 0.25s ease,
        box-shadow 0.25s ease;
}
.service-icon img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    object-fit: contain;
}
.service-card h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.3rem;
}
.service-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 0 2px rgba(255,195,0,0.9),
        0 10px 25px rgba(0,0,0,0.22);
}
@media (max-width: 768px) {
    .services-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .service-card {
        width: 100%;
		max-width: 250px;
    }
}
.service-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 4px solid #FFC300;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    background: white;
    box-shadow: 0 0 6px rgba(255,195,0,0.4);
    transition: 0.25s ease;
    overflow: hidden; 
}
.service-icon img {
    width: 55%;
    height: 55%;
    object-fit: contain;
    display: block;
    margin: 0;
    padding: 0;
}
.service-card:hover .service-icon {
    box-shadow: 
        0 0 8px rgba(255,195,0,0.7),
        0 0 2px rgba(255,195,0,1);
    transform: scale(1.05);
}
/* ============================
   SEKCIJA O PODJETJU
============================ */
.o-podjetju-section {
    padding: 60px 20px;
}
.o-podjetju-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.o-podjetju-info {
    flex: 1;
    background: #f5f5f5;
    padding: 25px;
    border-radius: 8px;
}
.o-podjetju-dropdowns {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.op-dropdown {
    position: relative;
}
.op-dropdown-btn {
    width: 100%;
    padding: 15px;
    background: #7195b8;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    text-align: left;
    cursor: pointer;
    transition: 
	ground 0.3s;
}
.op-dropdown-btn:hover {
    background: #5a7a96;
}
.op-dropdown-content {
    display: none;
    background: #fff;
    border-radius: 6px;
    padding: 15px;
    margin-top: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.op-dropdown-content p {
    margin: 0 0 10px;
    cursor: pointer;
}
.op-dropdown-content p:last-child {
    margin-bottom: 0;
}
.op-dropdown.active .op-dropdown-content {
    display: block;
}
.xtrabold {
    font-weight: 800;
    font-size: 125%;
	color: #7195b8;
}
@media (max-width: 900px) {
    .o-podjetju-wrapper {
        flex-direction: column;
    }
}
/* ================= KONTAK ================= */
.contact-section {
    background: #f5f5f5;
    padding: 80px 0;
    text-align: center;
}
.contact-section h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #333;
}
.contact-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
}
.contact-wrapper {
    max-width: 1100px;
    margin: auto;
}
.contact-cards {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.contact-card {
    background: white;
    padding: 20px 20px;
    border-radius: 12px;
    width: 160px;
    text-decoration: none;
    color: black;
    border-top: 5px solid #FFC300;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.contact-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow:
        0 0 3px rgba(255,195,0,0.9),
        0 8px 20px rgba(0,0,0,0.25);
}
.contact-card i {
    font-size: 2.5rem;
    color: #7195b8;
    margin-bottom: 15px;
}
.contact-card h3 {
    margin-bottom: 5px;
    font-size: 1.5rem;
	color: #7195b8;
}
.contact-card p {
    font-size: 1.1rem;
    color: #444;
}
.contact-form {
    margin-top: 60px;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border-top: 5px solid #7195b8;
}
.contact-form h3 {
    margin-bottom: 25px;
    font-size: 1.6rem;
    color: #333;
}
.form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}
.form-row input {
    flex: 1;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #7195b8;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.25s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #7195b8;
    outline: none;
}
.contact-form textarea {
    height: 150px;
    resize: vertical;
}
.send-btn {
    background: #7195b8;
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}
.send-btn:hover {
    background: #577a9a;
    transform: translateY(-10px);
}
/* MOBILE */
@media (max-width: 768px) {
    .contact-cards {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
        padding: 0 5px;
        box-sizing: border-box;
    }
    .contact-card {
        width: 100%;
        max-width: 280px;
        box-sizing: border-box;
        margin: 0 auto; /* popolno centriranje */
    }
}
/* ================= FOOTER ================= */
.footer {
    background: #999999;
    color: white;
    text-align: center;
	font-size: 8px;
    padding: 10px;
}
/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .hero {
        height: 280px;
    }
    .hero-inner h1 {
        font-size: 32px;
    }
    .cards-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .card {
        width: 70%;
        height: 100px;
    }
}
/* ================= BACK TO TOP ================= */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FFC300;
    color: #333;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: #7195b8;
}