@font-face {
    font-family: 'Gotham Bold Condensed';
    src: url('../fonts/GothamBoldCondensed.woff2') format('woff2'),
         url('../fonts/GothamBoldCondensed.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #557A4F;
    --primary-dark: #1B323F;
    --primary-custom: #466E8F;
    --footer-bg: #1A1A1A;
    --primary-hover: #6EA9DB;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --transition-default: all 0.3s ease;
    --section-padding: 80px;
}

/* General Styles */
.bg-primary-custom {
    background-color: var(--primary-custom);
}

.text-primary-custom {
    color: var(--primary-color);
}

.btn-primary-custom {
    background-color: var(--primary-custom);
    color: white;
    border: none;
    padding: 10px 25px;
    transition: background-color 0.3s;
}

.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    color: white;
}

.section-padding {
    padding: var(--section-padding) 0;
}

/* Navigation */
.navbar {
    background-color: white;
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

.navbar-brand img {
    height: 55px;
    width: auto;
}

/* Navbar Links */
.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition-default);
}

.navbar-nav .nav-link:hover {
    opacity: 0.8;
}

/* Navbar Toggle Button for Mobile */
.navbar-toggler {
    border-color: rgba(255,255,255,0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    /* background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.4)); */
    position: relative;
    min-height: 80vh;
}

/* Add a separate rule for the background image */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hortiqa-tvoj-vrtni-svijet.jpg') no-repeat center center;
    background-size: cover;
    z-index: -1;
    /* Add loading optimization */
    will-change: transform;
}

/* Optional: Adjust text contrast for better readability */
.hero-section .display-4 {
    font-weight: 600;
    text-shadow: 3px 3px 5px rgba(0,0,0,0.4);
}

.hero-section .lead {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* Footer Styles */
.bg-footer {
    background-color: var(--footer-bg);
}

.footer-credit {
    color: white;
    text-decoration: none;
    transition: var(--transition-default);
}

.footer-credit:hover {
    color: white;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-section {
        min-height: 60vh;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 40px 0;
    }
    
    .navbar-brand img {
        height: 45px;
    }
    
    .hero-section .display-4 {
        font-size: calc(1.8rem + 1.5vw);
    }
    
    .footer-credit {
        font-size: 0.9rem;
    }
}

/* Contact links styling */
#contact a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-default);
}

#contact a:hover {
    text-decoration: underline;
}

/* Add heading styles after the :root section */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Gotham Bold Condensed', Arial, sans-serif;
    letter-spacing: 0.02em;
}

/* Accessibility improvements */
.btn-primary-custom:focus,
.nav-link:focus,
#contact a:focus,
.footer-credit:focus {
    outline: 2px solid var(--primary-custom);
    outline-offset: 2px;
}

/* Remove outline for mouse users */
.btn-primary-custom:focus:not(:focus-visible),
.nav-link:focus:not(:focus-visible),
#contact a:focus:not(:focus-visible),
.footer-credit:focus:not(:focus-visible) {
    outline: none;
} 