/* Custom Styles for Psikodinamik */
:root {
    --primary-color: #9b59b6;
    --secondary-color: #8e44ad;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
}

/* Top Bar */
.top-bar {
    background-color: var(--secondary-color);
    color: var(--white);
    font-size: 0.9rem;
}

.top-bar a {
    text-decoration: none;
    transition: opacity 0.3s;
    color: var(--white);
}

.top-bar a:hover {
    opacity: 0.8;
}

.login-btn {
    font-size: 0.8rem;
    border-width: 1px;
    font-weight: 500;
}

.login-btn:hover {
    background-color: var(--white);
    color: var(--secondary-color) !important;
    opacity: 1 !important;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.navbar-brand {
    font-weight: 700;
    color: var(--secondary-color) !important;
    font-size: 1.5rem;
}

.navbar-brand img {
    max-height: 80px;
    /* Increased size */
    width: auto;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    padding: 10px 25px;
    transition: all 0.3s;
}

.btn-primary-custom:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.contact-info-nav {
    line-height: 1.2;
    font-size: 0.75rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    /* Removed padding-top since we are using sticky-top, not fixed-top */
}

.carousel-item {
    min-height: 200px;
    background-color: #eee;
    border-radius: 20px;
}

.carousel-item a {
    text-decoration: none;
    display: block;
    height: 100%;
}

.carousel-item img {
    object-fit: cover;
    width: 100%;
    height: auto;
}

.carousel-caption {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 10px;
    color: var(--text-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.carousel-caption h5 {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 2rem;
}

/* Build for Promo Image specifically */
.promo-slide img {
    object-position: top center;
    /* Ensure top of promo is seen */
}

/* Services */
.section-title {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 50%;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
}

.service-card {
    border: none;
    transition: all 0.3s;
    height: 100%;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    padding: 20px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(155, 89, 182, 0.2);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Team */
.team-member {
    text-align: center;
    margin-bottom: 30px;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(155, 89, 182, 0.2);
    margin-bottom: 15px;
}

.team-member h5 {
    color: var(--secondary-color);
    font-weight: 700;
}

.team-member p {
    color: #777;
    font-size: 0.9rem;
}

/* About Me */
.about-section {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
    /* Prevent arrows from causing horizontal scroll */
}

.about-img {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.about-img:hover {
    transform: scale(1.02);
}

/* Custom About Carousel Controls */
#aboutCarousel .carousel-control-prev,
#aboutCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s;
}

#aboutCarousel .carousel-control-prev:hover,
#aboutCarousel .carousel-control-next:hover {
    opacity: 1;
    background-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(155, 89, 182, 0.4);
}

#aboutCarousel .carousel-control-prev {
    left: -35px;
}

#aboutCarousel .carousel-control-next {
    right: -35px;
}

/* Move indicators down */
#aboutCarousel .carousel-indicators {
    bottom: -40px;
}

#aboutCarousel .carousel-indicators button {
    background-color: var(--secondary-color);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
}

/* Add padding to container to accommodate arrows/shadows inside if needed */
#aboutCarousel {
    padding: 0 20px;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 50px 0 20px;
}

footer h5 {
    font-weight: 700;
    margin-bottom: 20px;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

footer a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}