/* 
* AMADIR - Finanční poradenství
* Custom CSS Styles
* Original color: #0056b3
*/

/* General Styles */
:root {
    --primary-color: #78d5ff; 
    --secondary-color: #6c757d;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --accent-color: #78d5ff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    padding-top: 76px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #003d7a;
}

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

.btn-primary:hover {
    background-color: #003d7a;
    border-color: #003d7a;
}

.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);
}

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

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

/* Navbar Styles */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #ffffff !important;
    padding: 15px 0;
}

.navbar-brand {
    font-weight: bold;
    font-size: 24px;
}

.logo-text {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    color: #555;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color) !important;
    border-bottom: 2px solid var(--primary-color);
}

/* Hero Section */
.hero, .portfolio-header, .team-header, .contact-header {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero .hero-overlay {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.hero:hover .hero-overlay {
    background-color: transparent;
}

.portfolio-header {
    background-image: url('../assets/img/portfolio-bg.svg');
    height: 40vh;
    min-height: 300px;
}

.team-header {
    background-image: url('../assets/img/team-bg.svg');
    height: 40vh;
    min-height: 300px;
}

.contact-header {
    background-image: url('../assets/img/contact-bg.svg');
    height: 40vh;
    min-height: 300px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

/* Card Styles */
.card {
    border-radius: 8px;
    border: none;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-body {
    padding: 2rem;
}

.card-title {
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Team Cards */
.team-card img {
    height: 250px;
    object-fit: cover;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: all 0.3s ease;
    background-color: rgba(0, 86, 179, 0.1);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white !important;
}

footer .social-links a {
    background-color: rgba(255, 255, 255, 0.1);
    width: 32px;
    height: 32px;
}

footer .social-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Map Container */
.map-container {
    overflow: hidden;
    border-radius: 8px;
    height: 450px;
}

.map-container iframe {
    border: 0;
}

/* Footer Styles */
footer a {
    color: white;
    transition: all 0.3s ease;
}

footer a:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

/* Media Queries */
@media (max-width: 992px) {
    .navbar {
        padding: 10px 0;
    }
    
    .nav-link.active {
        border-bottom: none;
        background-color: rgba(0, 86, 179, 0.1);
        border-radius: 4px;
    }
    
    .hero, .portfolio-header, .team-header, .contact-header {
        height: 50vh;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 66px;
    }
    
    .hero, .portfolio-header, .team-header, .contact-header {
        height: 40vh;
        min-height: 300px;
    }
    
    .card-body {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero, .portfolio-header, .team-header, .contact-header {
        height: 30vh;
        min-height: 250px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
}
