/*
Theme Name: Hamle Gümrük Theme
Theme URI: https://hamlegumruk.com
Author: Antigravity
Author URI: https://google.com
Description: A modern, corporate WordPress theme for Hamle Gümrük with multi-language support.
Version: 1.0.1
Text Domain: hamle
*/

:root {
    --primary-color: #006633;
    /* Corporate Green */
    --primary-dark: #004d26;
    --secondary-color: #2c3e50;
    --accent-color: #f1c40f;
    --transition: all 0.3s ease;
}

/* Overrides & Custom Styles needed on top of Bootstrap */

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Links */
a {
    transition: var(--transition);
}

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

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

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

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

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

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

/* Navbar Tweaks */
.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    /* Force padding */
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active,
.navbar-nav .current-menu-item .nav-link {
    color: var(--primary-color);
    background-color: rgba(0, 102, 51, 0.05);
    border-radius: 50px;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: 2px solid var(--primary-color);
}

/* Hover Shadows */
.hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
}

.transition-all {
    transition: all 0.3s ease;
}

/* Footer Tweaks */
.hover-white:hover {
    color: #fff !important;
    padding-left: 5px;
    transition: all 0.2s;
}

.last-no-border:last-child {
    border-bottom: 0 !important;
}

/* Category widget styles from WP output need check */
.widget ul li {
    margin-bottom: 0.5rem;
}

.widget ul li a {
    text-decoration: none;
    color: #6c757d;
    /* text-secondary */
}

.widget ul li a:hover {
    color: var(--primary-color);
}
/* Scroll To Top Button */
#scroll-to-top {
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

#scroll-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scroll-to-top:hover {
    transform: translateY(-5px);
}

/* Flag Ticker Animation */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: content-box;
}

.ticker-move {
    display: inline-block;
    white-space: nowrap;
    
    animation: ticker 60s linear infinite; /* Slowed down for better visibility */
}

/* Hover to pause */
.ticker-wrap:hover .ticker-move {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-block;
    vertical-align: middle;
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Ensure flags are visible and sized nicely */
.fi {
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(0,0,0,0.1);
}
