/* ===== Starex – brand colors and layout ===== */
:root {
    --starex-orange: #ea8d2a;
    --starex-orange-dark: #d67c1c;
    --starex-yellow: #f9f287;
    --starex-cream: #fdf9dc;
    --starex-link: #ff9900;
    --starex-text: #424242; /* #5f4f48;*/
    --starex-red: #ff0000;
}

body {
    background-color: #fffffc;
    color: var(--starex-text);
}

h1, h2 {
    color: var(--starex-orange);
}

/* Fixed-width presentation, white space around, cream inside */
.page {
    max-width: 1050px;
    margin: 0 auto;
    background-color: var(--starex-cream);
    padding: 0 20px;
}

/* ===== Header ===== */
.site-header {
    background-color: var(--starex-cream);
}

.site-header .logo-box {
    padding: 15px 20px 8px 0;
}

.site-header .main-nav {
    background: var(--starex-orange) url('../img/header2.png') center center / cover;
    min-height: 115px;
    border-radius: 0;
}

@media (min-width: 992px) {
    .site-header .main-nav {
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
    }
}

.site-header .nav-link {
    color: #fff;
    font-size: 1.05rem;
    font-weight: bold;
    padding: 0.5rem 1.2rem;
}

.site-header .main-nav .navbar-nav {
    padding-right: 20px;
}

.site-header .nav-link:hover {
    color: #fff;
}

.site-header .nav-link.active {
    color: #3F4447;
}

/* ===== Hero carousel ===== */
.hero .carousel-item img {
    max-height: 650px;
    object-fit: cover;
}

/* ===== Alert box ===== */
.alert-box {
    background-color: #fff;
    border: 2px solid var(--starex-red);
}
.alert-box h3 {
    color: var(--starex-red);
    font-size: 1.2rem;
}
.alert-box p {
    margin: 0;
}

/* ===== Info box (dynamic content placeholder) ===== */
.info-box {
    background-color: #fff;
}
.info-box h2 {
    color: var(--starex-orange);
    font-size: 1.5rem;
}
.info-box p {
    margin-bottom: 0.3em;
}

/* ===== Promo boxes (e-shop / výstavba / development) ===== */
.promo-box {
    background-color: var(--starex-yellow);
    background-repeat: no-repeat;
    background-position: bottom center;
    border-radius: 8px;
    min-height: 330px;
    padding: 1.5rem 1rem 120px;
    text-align: center;
    height: 100%;
}

.promo-box h2 {
    font-size: 1.9rem;
    font-weight: bold;
    color: var(--starex-text);
    /*margin-bottom: 1.5rem;*/
}

.promo-box h2 a {
    color: inherit;
    text-decoration: none;
}

.promo-box ul {
    text-align: left;
    /*list-style: none;
    margin: 0;*/
    padding: 1rem 0 0 2.5rem;
}

.promo-box li {
    padding: 0.2rem 0;
    /*color: var(--starex-link);*/
}

.promo-box a {
    color: var(--starex-link);
    text-decoration: none;
}

.promo-box a:hover {
    text-decoration: underline;
}

/* ===== Contact page ===== */
.page-title {
    color: var(--starex-orange);
    font-size: 2rem;
}

.contact-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    height: 100%;
}

.contact-card h2 {
    color: var(--starex-orange);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: var(--starex-text);
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.contact-card address {
    font-style: normal;
}

.contact-card a {
    color: var(--starex-link);
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.person-card .person-role {
    color: var(--starex-orange);
    margin-bottom: 0.75rem;
}

.map-link img {
    display: block;
}

/* ===== Text section ===== */
.intro-text {

}
.section-title {
    color: var(--starex-orange);
    font-size: 1.6rem;
}

/* ===== Gallery ===== */
.gallery-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--starex-orange) url('../img/header.png') center center / cover;
    color: #fff;
}

.site-footer h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.site-footer a {
    color: #fff;
}

.site-footer .footer-bottom {
    background-color: rgba(0, 0, 0, 0.15);
    font-size: 0.9rem;
}
