@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,700');
@import url("https://fonts.googleapis.com/css?family=Metal+Mania");

@font-face {
    font-family: "Booter - Zero Zero";
    src: url("image/nogti.jpg - Zero Zero.woff") format("woff"),
         url("Fonts/Booter - Zero Zero.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
} 
@charset "UTF-8"

* {
    box-sizing: border-box;
    font-family: Raleway;
    color: #777;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    overflow-x: hidden;
}

body {
    font-size: clamp(16px, 1.1vw, 18px);
    line-height: 1.55;
}

img {
    max-width: 100%;
    height: auto;
}

.bodyfont{
	background-color: #fbf7f1;
	
}

/* Matches the white content background used on the home page. */
.contacts-page {
    background-color: #fcf7f1;
}

.kartinka{
	float: left;
	width: min(400px, 45%);
	margin: 0 clamp(1rem, 3vw, 2rem) 1rem 0;
}

.kartinka img {
    display: block;
    width: 100%;
}

.kartinka + .section-header {
    text-align: left;
}

.content-section > ul + p {
    clear: both;
}

/* Company description next to the logo */
.content-section > ul {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
    line-height: 1.9;
    color: #333;
    margin-top: 0;
}

.content-section > ul li {
    font-family: inherit;
    color: inherit;
    margin-bottom: 1rem;
}

.crane-list-legacy {
    display: none;
}

.crane-table-wrapper {
    margin: 2rem auto;
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 47, 85, .16);
}

.crane-subtitle {
    margin-top: 3rem;
    color: #002F55;
}

.crane-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    background: white;
    font-family: Georgia, "Times New Roman", serif;
    color: #17324a;
}

.crane-table th {
    padding: 1rem 1.25rem;
    background: #002F55;
    color: white;
    font-size: 1.05rem;
    letter-spacing: .04em;
    text-align: left;
}

.crane-table td {
    padding: .9rem 1.25rem;
    border-bottom: 1px solid #dbe5ec;
}

.crane-table tbody tr:nth-child(even) {
    background: #f2f7fa;
}

.crane-table tbody tr:hover {
    background: #dcecf5;
}

.crane-table th:first-child,
.crane-table td:first-child {
    width: 12%;
    text-align: center;
    font-weight: bold;
}

.crane-table th:last-child,
.crane-table td:last-child {
    width: 25%;
    font-weight: bold;
    white-space: nowrap;
}

.contacts-section > p { display: none; }
.contact-details { display: grid; grid-template-columns: 1fr; gap: 1rem; overflow: hidden; padding: .25rem 0 1rem; }
.contact-card { padding: 1.25rem; border: 1px solid #d5e1e8; border-radius: 12px; background: #fff; box-shadow: 0 5px 14px rgba(0, 47, 85, .1); }
.contact-card-wide { grid-column: 1 / -1; }
.contact-card h3 { margin: 0 0 .75rem; padding-bottom: .55rem; border-bottom: 2px solid #002F55; color: #002F55; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; }
.contact-card p { margin: .5rem 0; }
.contact-card a { color: #17324a; font-weight: 600; text-decoration: none; }
.contact-card a:hover { color: #006cad; text-decoration: underline; }
.contact-card dl { margin: 0; }
.contact-card dl div { display: grid; grid-template-columns: minmax(135px, .8fr) 2fr; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid #e1e9ee; }
.contact-card dl div:last-child { border-bottom: 0; }
.contact-card dt { color: #496171; font-weight: bold; }
.contact-card dd { margin: 0; color: #17324a; }

.contact-card .contact-list { margin: 0; }
.contact-card .contact-list div { grid-template-columns: 80px minmax(0, 1fr); gap: .5rem; padding: .55rem 0; }
.contact-card .contact-list dd { min-width: 0; overflow-wrap: anywhere; }
.contact-card .contact-list a { display: block; overflow-wrap: normal; white-space: nowrap; font-size: clamp(.82rem, 3.5vw, 1rem); }

@media (max-width: 600px) {
    .contact-details { grid-template-columns: 1fr; clear: both; }
    .contact-card-wide { grid-column: auto; }
    .contact-card dl div { grid-template-columns: 1fr; gap: .2rem; }
}

.nav ul {
    margin: 0;
}

.nav li {
    display: inline;
}

.nav a {
    display: inline-block;
    padding: .5em;
    color: white;
    text-decoration: none;
}

.main-nav {
    text-align: center;
    font-size: 1.1em;
    font-weight: lighter;
    border-bottom: 1px solid rgba(255, 255, 255, .3)
}

.main-nav li {
    padding: 0 5%;
}

.nav a:hover {
    background-color: rgba(255, 255, 255, .3)
}

.language-toggle { margin-left: .8rem; padding: .35rem .65rem; border: 1px solid rgba(255,255,255,.8); border-radius: 4px; background: transparent; color: white; font-weight: bold; cursor: pointer; }
.language-toggle:hover { background: rgba(255,255,255,.25); }
.language-toggle img { width: 24px; height: 16px; margin-right: .35rem; vertical-align: -3px; border: 1px solid rgba(255,255,255,.6); box-shadow: 0 1px 2px rgba(0,0,0,.3); }

.main-header {
    background-color: rgba(0, 0, 0, .5);
    background-image: url("image/111fon.jpg");
    background-blend-mode: multiply;
    background-size: cover;
    padding-bottom: clamp(45px, 9vw, 100px);
}

.band-name {
    text-align: center;
    margin: 0;
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-family: "Booter - Zero Zero";
    font-weight: normal;
    color: white;
}

.band-name-large {
    font-size: clamp(3rem, 10vw, 10rem);
}

.content-section {
    margin: 1em;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 1.5rem);
}
.section-header {
    font-family: "Times New Roman", Times, serif;
    font-weight: normal;
    color: #333;
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.2;
}

.about-band-image {
    float: left;
    height: 200px;
    width: 200px;
    margin: 15px;
    border-radius: 50%;
}

.main-footer {
    background-color: #002F55;
    color: white;
    padding: 1em 0;
}

.main-footer-container {
    display: flex;
    align-items: center;
}

.main-footer-container ul {
    flex-grow: 1;
    text-align: end;
}

.footer-nav li {
    padding: 0 .5em;
}

.footer-nav img {
    width: 90px;
    height: 65px;
    object-fit: cover;
    border-radius: 4px;
}

.footer-nav a {
    pointer-events: none;
    cursor: default;
}

.main-footer h3.band-name {
    font-size: 0;
}

.main-footer h3.band-name::after {
    content: "Foto piemēri:";
    font-family: "Booter - Zero Zero", Raleway, sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    color: white;
}

.btn {
    text-align: center;
    vertical-align: middle;
    padding: .67em .67em;
    cursor: pointer;
}

.btn-header {
    margin: .5em 15% 2em 15%;
    color: white;
    border: 2px solid #2D9CDB;
    background-color: rgba(255, 255, 255, .1);
    border-radius: 0;
    font-size: 1.5em;
    font-weight: lighter;
    padding-left: 2em;
    padding-right: 2em;
}

.btn-header:hover {
    background-color: rgba(255, 255, 255, .3);
}

.btn-play {
    display: block;
    margin: 0 auto;
    color: #2D9CDB;
    font-size: 4em;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    padding: 0;
    text-align: center;
}

.btn-primary {
    color: white;
    background-color: #56CCF2;
    border: none;
    border-radius: .3em;
    font-weight: bold;
}

.btn-primary:hover {
    background-color: #2D9CDB;
}

.tour-row {
    border-bottom: 1px solid black;
    padding-bottom: 1em;
    margin-bottom: 1em;
}

.tour-row:last-child {
    border: none;
}

.tour-item {
    display: inline-block;
    padding-right: .5em;
}

.tour-date {
    color: #555;
    width: 11%;
    font-weight: bold;
}

.tour-city {
    width: 24%;
}

.tour-arena {
    width: 42%;
}

.tour-btn {
    max-width: 19%;
}

.shop-item {
    margin: clamp(15px, 3vw, 30px);
}

.shop-item-title {
    display: block;
    width: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 1.5em;
    color: #333;
    margin-bottom: 15px;
}

.shop-item-image {
    width: min(100%, 250px);
    height: auto;
    max-height: 250px;
    object-fit: contain;
}

.shop-item-details {
    display: flex;
    align-items: center;
    padding: 5px;
}

.shop-item-price {
    flex-grow: 1;
    color: #333;
}

.shop-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.cart-header {
    font-weight: bold;
    font-size: 1.25em;
    color: #333;
}

.cart-column {
    display: flex;
    align-items: center;
    border-bottom: 1px solid black;
    margin-right: 1.5em;
    padding-bottom: 10px;
    margin-top: 10px;
}

.cart-row {
    display: flex;
}

.cart-item {
    width: 45%;
}

.cart-price {
    width: 20%;
    font-size: 1.2em;
    color: #333;
}

.cart-quantity {
    width: 35%;
}

.cart-item-title {
    color: #333;
    margin-left: .5em;
    font-size: 1.2em;
}

.cart-item-image {
    width: 75px;
    height: auto;
    border-radius: 10px;
}

.btn-danger {
    color: white;
    background-color: #EB5757;
    border: none;
    border-radius: .3em;
    font-weight: bold;
}

.btn-danger:hover {
    background-color: #CC4C4C;
}

.cart-quantity-input {
    height: 34px;
    width: 50px;
    border-radius: 5px;
    border: 1px solid #56CCF2;
    background-color: #eee;
    color: #333;
    padding: 0;
    text-align: center;
    font-size: 1.2em;
    margin-right: 25px;
}

.cart-row:last-child {
    border-bottom: 1px solid black;
}

.cart-row:last-child .cart-column {
    border: none;
}

.cart-total {
    text-align: end;
    margin-top: 10px;
    margin-right: 10px;
}

.cart-total-title {
    font-weight: bold;
    font-size: 1.5em;
    color: black;
    margin-right: 20px;
}

.cart-total-price {
    color: #333;
    font-size: 1.1em;
}

.btn-purchase {
    display: block;
    margin: 40px auto 80px auto;
    font-size: 1.75em;
}

.main-footer-container {
    flex-direction: column;
    gap: 1rem;
}

.main-footer h3.band-name {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .16em;
    text-align: center;
}

.main-footer h3.band-name::after {
    display: inline-block;
    padding: .25em .7em;
    border-top: 1px solid rgba(255, 255, 255, .65);
    border-bottom: 1px solid rgba(255, 255, 255, .65);
}

html[lang="en"] .main-footer h3.band-name::after {
    content: "Photo examples:";
}

.main-footer-container ul.footer-nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
    gap: .6rem;
    padding: .4rem 0 1rem;
    margin: 0;
    overflow-x: auto;
    scrollbar-color: rgba(255, 255, 255, .6) transparent;
}

.footer-nav li {
    flex: 0 0 auto;
    padding: 0;
}

.footer-nav img {
    width: 120px;
    height: 85px;
}

.footer-nav img {
    cursor: zoom-in;
}

.photo-modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(0, 20, 36, .9);
}

.photo-modal.is-open {
    display: flex;
}

.photo-modal img {
    width: auto;
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .55);
}

.photo-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: white;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
}

/* Small screens, including Android phones */
@media (max-width: 600px) {
    .container { padding: 0 1em; }
    .main-header { padding-bottom: 45px; }
    .main-nav { font-size: 1em; }
    .main-nav ul { display: flex; flex-wrap: wrap; justify-content: center; padding: 0; list-style: none; }
    .main-nav li { padding: 0; }
    .nav a { padding: .75em .6em; }
    .band-name, .band-name-large { font-size: 2.6em; line-height: 1.1; padding: 0 .35em; overflow-wrap: anywhere; }
    .section-header { font-size: 1.8em; }
    .content-section { margin: 1em 0; }
    .kartinka { float: none; width: 100%; margin: 0 auto 1em; }
    .kartinka + .section-header { text-align: center; }
    .kartinka img { display: block; width: 100% !important; max-width: 400px; margin: 0 auto; }
    .about-band-image { float: none; display: block; width: min(200px, 100%); margin: 15px auto; }
    .shop-items { display: grid; grid-template-columns: 1fr; }
    .shop-item { width: 100%; max-width: 320px; margin: 20px auto; }
    .shop-item-image { display: block; width: 100%; height: auto; max-height: 350px; object-fit: contain; margin: 0 auto; }
    .shop-item-details { gap: .75em; flex-wrap: wrap; justify-content: space-between; }
    .shop-item-button { flex: 1 1 180px; min-height: 44px; }
    .cart-row { min-width: 540px; }
    .cart-items { overflow-x: auto; }
    .cart-item-title { font-size: 1em; }
    .cart-column { margin-right: .75em; }
    .btn-purchase { margin: 30px auto 50px; font-size: 1.25em; }
    .main-footer-container { flex-direction: column; text-align: center; }
    .main-footer-container ul { flex-grow: 0; padding: 0; text-align: center; }
    .footer-nav { display: flex; flex-wrap: nowrap; justify-content: flex-start; }
    .footer-nav img { width: 105px; height: 75px; }
}
