:root {
    --primary-red: #cb151b;
    --primary-blue: #003366;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.main-nav ul {
    display: flex;
    gap: 20px;
}

.main-nav a {
    font-weight: 500;
    color: var(--primary-blue);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary-red);
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.lang-btn, .search-btn {
    background: none;
    border: 1px solid #ddd;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 4px;
    color: var(--text-dark);
}

.lang-btn:hover {
    background-color: var(--bg-light);
}

/* Hero */
.hero {
    background-image: url('../../img/euromedik-hol-pocetna-mobile.2071a992a3ce.jpg');
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,51,102,0.9), rgba(0,51,102,0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero .highlight {
    color: var(--primary-red); /* Maybe keep white or light blue for contrast on dark bg */
    color: #fff; /* White looks better on blue overlay */
    border-bottom: 4px solid var(--primary-red);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
    font-size: 0.9rem;
}

.btn-primary span {
    font-size: 0.8rem;
    font-weight: 400;
}

.btn-primary:hover {
    background-color: #a00f14;
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-blue);
}

.btn-secondary:hover {
    background-color: #f0f0f0;
}

/* Quick Services */
.quick-services {
    background-color: var(--primary-red);
    padding: 20px 0;
}

.quick-services .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.service-tabs {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.service-tab {
    color: var(--white);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.service-tab:hover {
    border-bottom-color: var(--white);
}

.btn-white-outline {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
}

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

/* Info Cards */
.info-cards {
    padding: 60px 0;
    background-color: var(--bg-light);
    margin-top: -50px; /* Overlap effect if desired, but let's keep it simple for now or relative */
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--white);
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-radius: 8px;
    border-top: 5px solid transparent;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card.highlight-card {
    border-top-color: var(--primary-red);
}

.card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.btn-text {
    color: var(--primary-red);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-text:hover {
    color: var(--primary-blue);
}

/* Detail Sections */
.detail-section {
    padding: 80px 0;
}

.bg-light {
    background-color: #f5f8fa;
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 50px;
}

.split-layout.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
}

.image-content {
    flex: 1;
}

.image-content img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.detail-section h2 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.detail-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary-red);
}

.detail-section p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.tag {
    background-color: var(--white);
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-blue);
    font-weight: 500;
}

.btn-primary-small {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary-small:hover {
    background-color: var(--primary-red);
}

/* Footer */
.footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding-top: 60px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.about-col p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 20px;
}

.btn-footer {
    display: inline-block;
    border: 1px solid var(--white);
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-red); /* Or white */
    color: #fff;
    border-left: 3px solid var(--primary-red);
    padding-left: 10px;
}

.menu-col ul li {
    margin-bottom: 10px;
}

.menu-col a {
    opacity: 0.8;
    font-size: 0.95rem;
}

.menu-col a:hover {
    opacity: 1;
    padding-left: 5px;
}

.locations-col .scroll-list {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Scrollbar styles for locations */
.locations-col .scroll-list::-webkit-scrollbar {
    width: 6px;
}
.locations-col .scroll-list::-webkit-scrollbar-thumb {
    background-color: rgba(255,255,255,0.2);
    border-radius: 3px;
}

.locations-col a {
    display: block;
    margin-bottom: 10px;
    font-size: 0.85rem;
    opacity: 0.7;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 5px;
}

.locations-col a:hover {
    opacity: 1;
    color: var(--primary-red);
}

.footer-bottom {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.8rem;
    opacity: 0.6;
}

.payment-logos {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.payment-logos img {
    height: 25px;
    background: #fff;
    padding: 2px;
    border-radius: 2px;
}

@media (max-width: 992px) {
    .hero h1 { font-size: 2.5rem; }
    .split-layout, .split-layout.reverse { flex-direction: column; }
    .footer-top { grid-template-columns: 1fr; }
}
