/* 
   Project: TZOV "FK "KREDYT-KAPITAL TOV Website
   Theme: Deep Emerald Green & Gold
*/

:root {
    /* Primary Color - Deep Emerald Green */
    --primary-color: #0F3D3E;
    --primary-dark: #0a2b2c;

    /* Accent Color - Gold */
    --accent-color: #C4A065;
    --accent-light: #d4b886;

    /* Neutral Colors */
    --text-dark: #2C3E50;
    --text-light: #ECF0F1;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* --- Utilities --- */
.text-gold {
    color: var(--accent-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

/* --- Buttons --- */
.btn-gold {
    background-color: var(--accent-color);
    color: var(--white);
    border: 2px solid var(--accent-color);
    padding: 10px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.btn-outline-light {
    border: 2px solid var(--white);
    padding: 10px 30px;
    font-weight: 600;
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* --- Navbar --- */
.navbar {
    background-color: var(--primary-color);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar .navbar-brand {
    font-size: 1.5rem;
    color: var(--white);
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--accent-color) !important;
}

.lang-switch .nav-link {
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    margin-left: 10px;
}

.lang-switch .nav-link:hover {
    border-color: var(--accent-color);
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(rgba(15, 61, 62, 0.85), rgba(15, 61, 62, 0.7)), url('../assets/img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    min-height: 600px;
    position: relative;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* --- Services Section --- */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
    border-top-color: var(--accent-color);
}

.icon-box {
    width: 80px;
    height: 80px;
    background-color: rgba(15, 61, 62, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .icon-box {
    background-color: var(--primary-color);
    color: var(--accent-color);
}

/* --- About Section --- */
.about-img {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.about-img img {
    transition: transform 0.5s ease;
}

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

/* --- Footer Slider --- */
.footer-slider {
    padding: 20px 0;
    overflow: hidden;
    /* Hide scrollbar */
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.footer-slider-track {
    display: flex;
    width: calc(200px * 10);
    /* Example width calculation */
    animation: scroll 20s linear infinite;
}

.slide {
    width: 200px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.slide img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%) brightness(200%);
    /* Make logos white/greyish */
    opacity: 0.6;
    transition: all 0.3s ease;
}

.slide img:hover {
    filter: none;
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-200px * 5));
    }

    /* adjust based on number of distinct slides */
}

/* --- Contact Form --- */
.form-control {
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(196, 160, 101, 0.25);
}

/* --- Footer --- */
footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-color) !important;
}

/* --- Responsive Text --- */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}