/* Brand colors:
   Primary Dark: #000000 (black)
   Background Grey: #cccccc
   Brand Accent Pink: rgb(255, 20, 147)
   Dark Card Background: #121212
   White text: #ffffff
   Muted text: #a0a0a0
*/

html, body {
    margin: 0;
    padding: 0;
    background-color: #cccccc; /* Unified grey background for the entire section under the header */
    color: #121212; /* Dark text for contrast outside cards */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Header with background image */
.logo-header {
    background-image: url('logo_background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 20px;
    text-align: center;
    border-bottom: 2px solid rgb(255, 20, 147);
}

.logo-container {
    max-width: 250px;
    margin: 0 auto;
}

.logo-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(255, 20, 147, 0.2);
}

/* Content area */
.content-container {
    width: 100%;
    margin: 0;
    padding: 0 0 100px 0; /* space at bottom for fixed footer */
}

/* Address section */
.address-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 20px 20px 20px; /* Reduced bottom padding to flow into columns */
    text-align: center;
}

.address-section h1 {
    font-size: 2.4rem;
    color: #000000; /* Pitch black for high contrast */
    margin: 0 0 15px 0;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.address-text {
    font-size: 1.3rem;
    color: #222222; /* Darker grey for readability */
    margin: 0;
    font-weight: 500;
}

/* Columns Section - seamless transition with unified background */
.columns-section {
    padding: 30px 20px 60px 20px;
    box-sizing: border-box;
    scroll-margin-top: 20px;
}

.columns-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

/* Info Columns as individual cards */
.info-column {
    flex: 1 1 450px;
    max-width: 550px;
    background-color: #121212; /* Dark card background remains the same */
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Softer shadow for light background */
    border: 1px solid #222222;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
    color: #ffffff; /* White text inside cards */
}

.info-column h2 {
    font-size: 1.6rem;
    color: rgb(255, 20, 147); /* Changed to brand pink */
    margin: 0;
    border-bottom: 2px solid rgb(255, 20, 147);
    padding-bottom: 12px;
    font-weight: 600;
}

.column-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gps-text, .contact-text {
    font-size: 1.05rem;
    color: #a0a0a0;
    margin: 0;
}

.gps-text a, .contact-text a {
    color: rgb(255, 20, 147);
    text-decoration: none;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 1px dashed transparent;
}

.gps-text a:hover, .contact-text a:hover {
    color: #ff69b4;
    border-bottom: 1px dashed #ff69b4;
}

/* Map wrapper styling */
.map-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    background-color: #1a1a1a;
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 350px;
    border: none;
}

/* Footer styling */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #000000;
    border-top: 1px solid #222;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
    color: #888888;
}

@media (max-width: 992px) {
    .columns-container {
        gap: 30px;
    }
    .info-column {
        flex: 1 1 100%;
    }
}

@media (max-width: 600px) {
    .address-section h1 {
        font-size: 1.8rem;
    }
    .logo-container {
        max-width: 180px;
    }
    .info-column {
        padding: 20px;
    }
    .map-wrapper iframe {
        height: 280px;
    }
}

/* News Section (Novinky - reduced height by ~20%) */
.news-section {
    padding: 10px 20px 20px 20px;
    box-sizing: border-box;
}

.news-container {
    max-width: 1140px;
    margin: 0 auto;
}

.news-card {
    background-color: #121212;
    padding: 22px 28px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #222222;
    color: #ffffff;
    box-sizing: border-box;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.news-card:hover {
    border-color: #333333;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgb(255, 20, 147);
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.news-header h2 {
    font-size: 1.35rem;
    color: rgb(255, 20, 147);
    margin: 0;
    font-weight: 600;
}

.news-date {
    color: #a0a0a0;
    font-size: 0.9rem;
    font-weight: 500;
}

.news-article-title {
    font-size: 1.18rem;
    line-height: 1.35;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.news-article-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-article-title a:hover {
    color: rgb(255, 20, 147);
}

.news-perex {
    font-size: 0.96rem;
    color: #cccccc;
    line-height: 1.5;
    margin: 0 0 14px 0;
}

.news-footer {
    display: flex;
    align-items: center;
}

.news-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: transparent;
    color: rgb(255, 20, 147);
    border: 1.5px solid rgb(255, 20, 147);
    padding: 7px 18px;
    border-radius: 6px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.news-btn:hover {
    background-color: rgb(255, 20, 147);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 20, 147, 0.35);
}

@media (max-width: 600px) {
    .news-card {
        padding: 18px 20px;
    }
    .news-article-title {
        font-size: 1.08rem;
    }
    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* About Section (O Nás) - positioned at the top */
.about-section {
    padding: 35px 20px 20px 20px;
    box-sizing: border-box;
}

.about-container {
    max-width: 1140px;
    margin: 0 auto;
}

.about-card {
    background-color: #121212;
    padding: 35px 40px 40px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #222222;
    color: #ffffff;
    box-sizing: border-box;
}

.about-header {
    border-bottom: 2px solid rgb(255, 20, 147);
    padding-bottom: 16px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
}

.about-header-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-tag {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgb(255, 20, 147);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.about-company-title {
    font-size: 2.1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.about-company-address {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    color: #cbd5e1;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid #282828;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.about-company-address:hover {
    background-color: rgba(255, 20, 147, 0.15);
    border-color: rgb(255, 20, 147);
    color: #ffffff;
    transform: translateY(-2px);
}

.about-company-address svg {
    color: rgb(255, 20, 147);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.about-company-address:hover svg {
    transform: scale(1.1);
}

.about-lead {
    font-size: 1.12rem;
    line-height: 1.7;
    color: #e2e8f0;
    margin: 0 0 28px 0;
}

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

.about-block {
    background: #191919;
    padding: 24px;
    border-radius: 10px;
    border: 1px solid #282828;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.about-block:hover {
    border-color: #383838;
}

.about-block h3 {
    font-size: 1.22rem;
    color: rgb(255, 20, 147);
    margin: 0 0 14px 0;
    font-weight: 600;
    line-height: 1.4;
}

.about-block p {
    font-size: 0.98rem;
    color: #cccccc;
    line-height: 1.65;
    margin: 0 0 12px 0;
}

.about-block ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
}

.about-block ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: #cccccc;
    font-size: 0.96rem;
    line-height: 1.55;
}

.about-block ul li::before {
    content: "•";
    color: rgb(255, 20, 147);
    font-size: 1.3rem;
    position: absolute;
    left: 2px;
    top: -1px;
}

@media (max-width: 768px) {
    .about-section {
        padding-top: 20px;
    }
    .about-card {
        padding: 22px 20px;
    }
    .about-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .about-company-title {
        font-size: 1.7rem;
    }
    .about-company-address {
        font-size: 0.95rem;
        padding: 6px 12px;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .about-lead {
        font-size: 1.02rem;
    }
}

