/*
Theme Name: Moje Šablona
Theme URI: http://localhost
Author: Tomáš Huml
Author URI: http://localhost
Description: Artia šablona
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Artia
*/

@tailwind base;
@tailwind components;
@tailwind utilities;

/* Definované proměnné použité v šabloně */
:root {
  --gold: #C69B00;
  --black: #0E0E0E;
  --white: #FFFFFF;
  --gray: #5A5A5A;
  --elephantbone: #F5F3EB;
  --lightgray: #E0E0E0;
}

.bg-gold { background-color: var(--gold); }
.bg-black { background-color: var(--black); }
.bg-white { background-color: var(--white); }
.bg-gray { background-color: var(--gray); }
.bg-elephantbone { background-color: var(--elephantbone); }
.bg-lightgray { background-color: var(--lightgray); }

.text-black { color: var(--black); }
.hover\:text-gold:hover { color: var(--gold); }

.after-bg-black::after { background-color: var(--black); }


*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow-x: hidden;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Crimson Text', serif;
  margin: 0;
  padding: 0;
  background-color: var(--white);
  color: var(--black);
}

.top-line {
  width: 100%;
  height: 0.3125rem;
  background-color: var(--gold);
}

.header {
  text-align: right;
  margin: 3.125rem 3.125rem 0 0;
}

nav a {
  color: var(--black);
  text-decoration: none;
  margin-left: 2rem;
  font-size: 1.3rem;    
  letter-spacing: 0.1875rem; 
  font-weight: 100;       
  transition: color 0.2s;
}

.title {
  text-align: center;
  font-size: 8rem;
  margin: 0 auto 3.125rem;
  letter-spacing: 2rem;
  line-height: 6.25rem;
  font-weight: normal;
}

#title::before,
#title::after {
  color: black;
  text-decoration: none;
}

h1.title a {
  color: var(--black);
  text-decoration: none;
}

h1.title a:visited {
  color: var(--black);
}

h1.title a:hover,
h1.title a:focus {
  text-decoration: none;
}

.title-line {
  width: 95%;
  height: 0.125rem;
  background-color: var(--elephantbone);
  margin: 0 auto;
}

.mintage {
  text-align: center;
  padding: 1.75rem 0;
  margin-bottom: 1rem;
  font-size: 1.8rem;
  font-weight: 200;
  letter-spacing: 0.4rem;
}

.coins-link {
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.coins-link:hover {
  transform: translateY(-0.3125rem);
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.15);
}

.coins-first-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.coins-row-first-page {
  display: flex;
  justify-content: center;
  gap: 6.875rem;
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.coins-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.coins-images {
  display: flex;
  justify-content: center;
  gap: 0.625rem;
  margin-bottom: 1.5625rem;
  height: 16.875rem;
  width: 100%;
}

.coins-images img {
  width: 12.5rem;
  height: 16.875rem;
  object-fit: contain;
  margin-top: -2.8125rem;
}

.coins-images-single {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5625rem;
  height: 16.875rem;
  width: 100%;
}

.coins-images-single img {
  width: 100%;
  height: 16.875rem;
  object-fit: contain;
  margin-top: -1.875rem;
}

.first-coins,
.first-mince,
.first-coin {
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--black);
  text-align: center;
  line-height: 1.6;
  margin: -1.375rem 0 0 0;
}

.button-container {
  display: flex;
  justify-content: center;
  padding-top: 0.625rem;
  margin-right: 2.1875rem;
}

.button_1 {
  display: inline-block;
  color: var(--white);
  font-size: 1.2rem;
  background-color: var(--black);
  padding: 1.125rem 2.375rem;
  text-decoration: none;
  border-radius: 0.375rem;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.button_1:hover {
  background-color: var(--lightgray);
  color: var(--black);
}

.about_us {
  position: relative;
  border-radius: 0.625rem;
  padding: 2.5rem 1.875rem;
  background-color: var(--elephantbone);
  margin: 9.375rem auto 3.125rem auto;
  box-sizing: border-box;
  max-width: 95%;
  align-items: stretch;
  display: flex;
}

.about_us_left {
  flex: 1;
  min-height: 28.125rem;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about_us_header {
  font-size: 2.3rem;
  margin-bottom: 0.3125rem;
  line-height: 1.2;
  padding-left: 3.125rem;
  font-weight: 300;
}

.about_us_description {
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 0;
  font-weight: normal;
  padding-left: 3.125rem;
  padding-right: 3.125rem;
}

.about_us_right {
  flex: 1;
  max-width: 50%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 1.875rem;
  width: 50vw;
  z-index: 0;
}

.about_us_right img {
  width: 100%;
  height: 106%;
  object-fit: cover;
  display: block;
  border-top-right-radius: 0.625rem;
  border-bottom-right-radius: 0.625rem;
}

@media (max-width: 1502px) {
  .button-container {
    margin-right: 0;
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  .title {
    font-size: 4rem;
    letter-spacing: 1rem;
    line-height: 4.5rem;
  }

  .coins-row-first-page {
    gap: 3rem;
  }

  .about_us {
    flex-direction: column;
    position: relative;
  }

  .about_us_left {
    max-width: 100%;
    padding-left: 1rem;
    margin-bottom: 2rem;
  }

  .about_us_right {
    position: relative;
    max-width: 100%;
    width: 100%;
  }

  .about_us_right img {
    border-radius: 0.625rem;
    height: auto;
  }
}

@media (max-width: 768px) {
  .header {
    text-align: center;
    margin: 1rem 0;
  }

  nav a {
    display: inline-block;
    margin: 0 1rem;
    font-size: 1.1rem;
  }

  .title {
    font-size: 3rem;
    letter-spacing: 0.5rem;
    line-height: 3.5rem;
  }

  .coins-row-first-page {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .coins-images img {
    width: 10rem;
    height: auto;
    margin-top: 0;
  }

  .first-coins {
    font-size: 1.2rem;
  }

  .button-container {
    margin-right: 0;
    padding: 1rem 0;
  }

  .about_us {
    margin: 3rem 1rem;
    padding: 1.5rem;
  }

  .about_us_header {
    font-size: 1.8rem;
    padding-left: 0;
  }

  .about_us_description {
    font-size: 1.1rem;
    padding-left: 0;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-column {
    margin-bottom: 1.5rem;
  }
}
