* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0f1720;
    color: #f4efe6;
}

.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 60px 10%;
    background:
        linear-gradient(rgba(10, 15, 20, 0.75), rgba(10, 15, 20, 0.95)),
        url("images/bank-bridge.jpg") center/cover;
}

.hero-content {
    max-width: 760px;
}

.subtitle {
    color: #d5a84c;
    text-transform: uppercase;
    letter-spacing: 3px;
}

h1 {
    font-size: 64px;
    margin: 10px 0;
}

.hero-text {
    font-size: 22px;
    line-height: 1.5;
}


main {
    padding: 60px 10%;
}

.intro,
.map-section,
.timeline {
    margin-bottom: 80px;
}

.intro p,
.section-title p {
    max-width: 850px;
    line-height: 1.6;
    color: #d7d0c6;
}

#map {
    height: 800px;

    border-radius: 24px;

    overflow: hidden;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.45);
}

.leaflet-popup-content {
    width: 400px !important;
}

.popup-card {
    max-width: 400px;
}

.popup-card img {
    width: 100%;
    max-height: 260px;
    height: auto;
    object-fit: contain;
    background: #eef1f4;
    border-radius: 10px;
    margin-bottom: 8px;
}

.popup-card h3 {
    margin: 8px 0;
    color: #111;
    font-size: 18px;
    line-height: 1.25;
}

.popup-card p {
    color: #333;
    font-size: 15px;
    line-height: 1.45;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.timeline-card {
    background: #182330;
    padding: 24px;
    border-radius: 18px;
    border: 1px solid rgba(213, 168, 76, 0.25);
}

.timeline-card span {
    color: #d5a84c;
    font-size: 26px;
    font-weight: bold;
}

footer {
    padding: 30px 10%;
    color: #aaa;
    background: #0a0f14;
}

@media (max-width: 800px) {
    h1 {
        font-size: 42px;
    }

    .timeline-grid {
        grid-template-columns: 1fr;
    }

    #map {
        height: 420px;
    }
}

.place-marker {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #d5a84c;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    box-shadow: 0 0 18px rgba(213, 168, 76, 0.65);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.leaflet-control-attribution {
    font-size: 9px;
    opacity: 0.35;
}
.leaflet-tile {
    transition: filter 0.8s;
}

.leaflet-control-zoom {
    border: none !important;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.18) !important;

    border-radius: 16px !important;

    overflow: hidden;

    margin-top: 20px !important;

    margin-left: 20px !important;
}


.leaflet-touch .leaflet-bar a,
.leaflet-bar a {
    width: 32px !important;
    height: 32px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    margin: 0 !important;

    line-height: 1 !important;
    text-align: center !important;

    font-size: 20px !important;
    font-weight: 300 !important;
    font-family: Arial, sans-serif !important;

    background: rgba(245, 242, 235, 0.9) !important;
    color: #5a4b2d !important;

    border: none !important;
    text-decoration: none !important;
}

.leaflet-control-zoom {
    border: none !important;
    border-radius: 14px !important;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18) !important;
}

.leaflet-control-zoom-in {
    border-bottom: 1px solid rgba(90, 75, 45, 0.18) !important;
}

.leaflet-bar a:hover {
    background: #d5a84c !important;

    color: #111 !important;

    transition: 0.2s;

    transform: scale(1.03);
}


.griffin-history {

    max-width: 1100px;

    margin: 120px auto;

}

.griffin-history h2 {

    font-size: 48px;

    margin-bottom: 60px;

    color: #d5a84c;
}

.history-block {

    margin-bottom: 80px;
}

.history-block h3 {

    font-size: 30px;

    margin-bottom: 24px;

    color: #f4efe6;
}

.history-block p {

    font-size: 18px;

    line-height: 2;

    color: #d8d4ca;

    margin-bottom: 18px;
}

.read-more {

    display: inline-block;

    margin-top: 16px;

    color: #d5a84c;

    text-decoration: none;

    font-weight: 600;
}

.read-more:hover {

    opacity: 0.8;
}

.details {
    max-width: 1200px;
    margin: 0 auto;
}

.details h2 {
    max-width: 950px;

    margin-left: auto;
    margin-right: auto;

    margin-bottom: 40px;
}

.object-detail {
    max-width: 950px;

    margin: 0 auto 60px auto;

    scroll-margin-top: 120px;

    background: rgba(18, 33, 50, 0.45);

    padding: 36px;

    border-radius: 22px;

    border: 1px solid rgba(213,168,76,0.18);

    backdrop-filter: blur(6px);
}

.object-detail h3 {
    margin-bottom: 26px;

    color: #d5a84c;

    font-size: 34px;
}

.object-detail p {
    color: #ddd6ca;

    line-height: 1.9;

    margin-bottom: 20px;

    font-size: 18px;
}


footer {

margin-top: 120px;

padding: 50px 10%;

background:
rgba(8, 16, 28, 0.85);

border-top:
1px solid
rgba(213,168,76,0.12);

}

.footer-content {

max-width: 800px;

margin: 0 auto;

text-align: center;

}

footer h3 {

color: #d5a84c;

font-size: 28px;

margin-bottom: 16px;

}

footer p {

color: #b9c2cf;

line-height: 1.8;

margin-bottom: 28px;

}

.footer-info {

display: flex;

flex-direction: column;

align-items: center;

gap: 12px;

color: #7f8ca1;

font-size: 14px;

}

.footer-mail {

color: #7f8ca1;

text-decoration: none;

transition: 0.25s;

}

.footer-mail:hover {

color: #d5a84c;

text-decoration: underline;

}

@media (max-width: 600px) {
    .hero {
        min-height: 65vh;
        padding: 36px 7%;
    }

    h1 {
        font-size: 38px;
        line-height: 1.1;
    }

    .hero-text {
        font-size: 17px;
    }

    main {
        padding: 36px 7%;
    }

    .map-section {
        margin-bottom: 70px;
    }

    #map {
        height: 420px;
        border-radius: 20px;
    }

    .griffin-history {
        margin: 70px auto;
    }

    .griffin-history h2 {
        font-size: 32px;
        line-height: 1.18;
        margin-bottom: 42px;
    }

    .history-block {
        margin-bottom: 52px;
    }

    .history-block h3 {
        font-size: 24px;
        line-height: 1.25;
    }

    .history-block p,
    .object-detail p {
        font-size: 16px;
        line-height: 1.75;
    }

    .object-detail {
        padding: 22px;
    }

    .object-detail h3 {
        font-size: 25px;
        line-height: 1.25;
    }

    .popup-card {
        max-width: 230px;
    }
}

@media (max-width: 600px) {
    .leaflet-popup-content {
        width: 210px !important;
        margin: 10px 12px !important;
    }

    .popup-card {
        max-width: 210px;
    }

    .popup-card img {
        width: 100%;

        max-height: 95px;

        height: auto;

        object-fit: contain;

        background: #eef1f4;

        border-radius: 8px;
    }

    .popup-card h3 {
        font-size: 15px;
        line-height: 1.2;
        margin: 6px 0;
    }

    .popup-card p {
        font-size: 13px;
        line-height: 1.35;
        margin: 8px 0;
    }

    .read-more {
        margin-top: 8px;
        font-size: 13px;
    }
}

@media (max-width: 390px) {
    #map {
        height: 430px;
    }

    .leaflet-popup-content {
        width: 190px !important;
        margin: 8px 10px !important;
    }

    .popup-card {
        max-width: 190px;
    }

    .popup-card h3 {
        font-size: 14px;
        line-height: 1.15;
    }

    .popup-card p {
        font-size: 12px;
        line-height: 1.3;
    }

    .read-more {
        font-size: 12px;
        margin-top: 6px;
    }
}