/*
 * DASC2027 - palette dedicata
 * Caricare questo file DOPO css/style.css in index2027.html.
 */

:root {
    --dasc27-blue: #123B5D;
    --dasc27-teal: #2A7F86;
    --dasc27-terracotta: #C46A4A;
    --dasc27-ivory: #F5F3EE;
    --dasc27-charcoal: #303943;
}

body {
    color: var(--dasc27-charcoal);
}

.hero-header {
    background-color: var(--dasc27-blue);
    color: #ffffff;
}

.hero-header h4 {
    color: rgba(255, 255, 255, 0.92);
    opacity: 1;
 line-height: 1.45;
    letter-spacing: 0.5px;

}




.side-menu ul li a span.menu-title,
.side-menu ul li a span.dot {
    background-color: var(--dasc27-terracotta);
}

.btn-red {
    background-color: var(--dasc27-terracotta);
    border-color: var(--dasc27-terracotta);
    color: #ffffff;
}

.btn-red:hover,
.btn-red:focus {
    background-color: #A95439;
    border-color: #A95439;
    color: #ffffff;
}

.btn-yellow {
    background-color: var(--dasc27-teal);
    border-color: var(--dasc27-teal);
    color: #ffffff;
    opacity: 1;
}

.btn-yellow:hover,
.btn-yellow:focus {
    background-color: #21666C;
    border-color: #21666C;
    color: #ffffff;
}

.feature span {
    color: var(--dasc27-teal);
}

.tickets {
    background-color: var(--dasc27-ivory);
}

.tickets .price {
    color: var(--dasc27-terracotta);
}

.footer {
    background-color: var(--dasc27-charcoal);
    color: #ffffff;
}

ul.footer-menu li a {
    color: #D9E8E7;
}

ul.footer-menu li a:hover {
    color: var(--dasc27-terracotta);
}


/* DASC2027 hero: ancient inscriptions merging into digital networks */
.hero-header {
    background-color: #002F38;
    background-image:
        linear-gradient(90deg,
            rgba(0, 22, 28, 0.34) 0%,
            rgba(0, 24, 31, 0.18) 48%,
            rgba(0, 24, 31, 0.24) 100%),
        url("../img/dasc2027-hero.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    color: #ffffff;
    min-height: 620px;
    padding-top: 3.5em;
    padding-bottom: 3em;
}

.hero-header h1,
.hero-header h3,
.hero-header h4 {
    color: #ffffff;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.38);
}

.hero-header h1 {
    font-weight: 300;
    line-height: 1.25;
}

.hero-header h3 {
    line-height: 1.35;
}

.hero-header h4 {
    line-height: 1.45;
    letter-spacing: 0.3px;
    opacity: 1;
}

/* Navigation dots: warm stone/terracotta accent */
.side-menu ul li a span.dot {
    background-color: #D18A55;
}

/* Small screens: keep the visual transition in view while content stacks */
@media (max-width: 767px) {
    .hero-header {
        min-height: 0;
        height: auto;
        padding: 3em 1em 2.5em;
        background-size: auto 100%;
        background-position: 47% center;
    }

    .hero-header .hero-title,
    .hero-header .hero-info {
        text-align: center;
    }

    .hero-header h1 {
        font-size: 28px;
        line-height: 1.25;
        margin-top: 0.5em;
    }

    .hero-header h3 {
        font-size: 21px;
        margin-top: 1.5em;
    }

    .hero-header h4 {
        font-size: 16px;
        line-height: 1.5;
        text-align: left;
        margin-top: 1.5em;
    }
}


/* Hero layout refinement: event details under the title, description higher */
.hero-header .hero-title {
    padding-top: 0.5em;
}

.hero-header .hero-event {
    margin-top: 1.5em;
    margin-bottom: 0;
    font-size: 23px;
    line-height: 1.45;
    font-weight: 300;
    color: #ffffff;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.38);
}

.hero-header .hero-info {
    padding-top: 0.15em;
}

.hero-header .hero-info h4 {
    margin-top: 0;
}

@media (max-width: 767px) {
    .hero-header .hero-title {
        padding-top: 0;
    }

    .hero-header .hero-event {
        font-size: 15px;
        line-height: 1.45;
        margin-top: 0.3em;
        text-align: center;
    }

    .hero-header .hero-info {
        padding-top: 0.5em;
    }

    .hero-header .hero-info h4 {
        margin-top: 0;
    }
}



@media (min-width: 768px) {
    .hero-header .hero-title {
        text-align: right;
        padding-top: 0;
    }

    .hero-header .hero-title h1 {
        margin-top: 0;
    }

    .hero-header .hero-info {
        padding-top: 10px;
    }

    .hero-header .hero-info .hero-event {
        margin-top: 0;
    }
}










/* Mobile fix: the shared style.css caps the hero at 550px.
   Remove that cap for the longer stacked mobile content. */
@media (max-width: 767px) {
    .hero-header {
        max-height: none;
        min-height: 0;
        height: auto;
        overflow: visible;
        padding-bottom: 3em;
    }
}


/* Desktop refinement: align the left title with the right description
   and right-align the event information to keep it clear of the stone. */
@media (min-width: 768px) {
    .hero-header .hero-title {
        text-align: right;
        padding-top: 0;
    }

    .hero-header .hero-title h1 {
        margin-top: 0;
    }

    .hero-header .hero-title .hero-event {
        text-align: right;
    }
}

/* Keep the centered reading order on phones. */
@media (max-width: 767px) {
    .hero-header .hero-title {
        text-align: center;
    }

    .hero-header .hero-title h1,
    .hero-header .hero-title .hero-event {
        text-align: center;
    }
}


/* Desktop: add a little more breathing room between the two hero columns. */
@media (min-width: 768px) {
    .hero-header .hero-title {
        padding-right: 24px;
    }

    .hero-header .hero-info {
        padding-left: 24px;
    }
}

/* On mobile the columns stack, so restore the normal horizontal padding. */
@media (max-width: 767px) {
    .hero-header .hero-title,
    .hero-header .hero-info {
        padding-left: 15px;
        padding-right: 15px;
    }
}


/* Side navigation positioning */

.hero-header {
    position: relative;
}

/* Desktop: fixed navigation, slightly higher */
@media (min-width: 768px) {
    .side-menu {
        position: fixed;
        right: 30px;
        top: 50%;
        transform: translateY(-170px);
        z-index: 99;
    }
}

/* Mobile: navigation anchored to the hero */
@media (max-width: 767px) {
    .side-menu {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 99;
    }
}

@media (max-width: 767px) {

    .hero-header .hero-title h1 {
        font-size: 21px;
        line-height: 1.5;
    }

    .hero-header .hero-title .title-line {
        display: block;
        white-space: nowrap;
    }

}

@media (max-width: 767px) {

    .hero-header .hero-title {
        position: relative;
        top: -45px;
    }

    .hero-header .hero-info {
        position: relative;
        top: -50px;
    }

}


