/* style.css */

/* Základní styly a reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    background-color: #000;
    background-image: url('hockey_background.jpg'); /* Zde nastav cestu k tvému hokejovému obrázku */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    //padding: 20px 50px;
    padding: 0px 50px;
    height: 80px;
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.logo {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5em; /* Toto se týká textu, ne obrázku */
    font-weight: 700;
    color: #A5891E;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    position: relative; /* Důležité: kontejner pro absolutně pozicované img */
    width: auto; /* Logo div se přizpůsobí img, nebo bude automaticky */
    height: auto;
}

.logo img {
    display: flex; /* Můžete ponechat, ačkoli nemá vliv na img samotné */
    position: absolute; /* Zpět na absolutní pozicování */
    width: 150px; /* Pevná šířka */
    height: 150px; /* Pevná výška, jak požadujete */
    object-fit: contain; /* Ujistí se, že se obrázek vejde do 150x150, zachová poměr stran */
    left: -40px; /* Příklad: Posun doleva, aby bylo mimo původní zarovnání */
    top: -20px; /* Příklad: Posun nahoru, aby přesahovalo header (výška headeru 80px) */
}

@media (max-width: 1200px) {

    .logo {
      position: relative;
    }

    .logo img{
      min-width: 80px;
      width: 100px;
      height: 100px;
      left: -20px;
      top: -25px;
    }
}

@media (max-width: 960px) {

    .logo{
      position: relative;
    }

    .logo img{
      min-width: 50px;
      width: 75px;
      height: 75px;
      left: -20px;
      top: -30px;
    }
    
}

@media (max-width: 480px) {

    .logo {
        font-size: 2em;
        position: relative;
    }

    .logo img{
      min-width: 50px;
      width: 75px;
      height: 75px;
      left: -20px;
      top: -30px;
    }

}


.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-menu ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 700;
    padding: 5px 10px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu ul li a:hover {
    color: #A5891E;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background-color: #A5891E;
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
}

.nav-menu ul li a:hover::after,
.nav-menu ul li a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 2em;
    color: #A5891E;
    cursor: pointer;
    z-index: 1001;
}

/* Hlavní obsah stránky (pro index.php) */
.hero-section {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 150px 50px 50px 50px;
    text-align: left;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 50px;
}

.hero-content {
    max-width: 600px;
    justify-self: start;
}

.hero-content h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 4.5em;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.9);
    animation: fadeInDown 1s ease-out;
}

.hero-content p {
    font-size: 2em;
    color: #fff;
    margin-bottom: 40px;
    text-shadow: 2px 2px 7px rgba(0, 0, 0, 0.7);
    animation: fadeInDown 1.2s ease-out;
}

.train-button {
    display: inline-block;
    background-color: #A5891E;
    color: #000;
    padding: 18px 35px;
    text-decoration: none;
    font-size: 1.6em;
    font-weight: 700;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(242, 201, 44, 0.4);
    animation: fadeInUp 1.4s ease-out;
}

.train-button:hover {
    background-color: #f2c92c;
    transform: translateY(-3px);
}

.train-button::before {
    content: '+';
    margin-right: 10px;
}

.image-boxes {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-self: end;
    justify-self: end;
    position: relative;
    right: 50px;
    bottom: 50px;
}

.image-box {
    position: relative;
    //width: 350px;
    height: 350px;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: hidden;
    //clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(242, 201, 44, 0.5);
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.8);
    transition: filter 0.5s ease;
}

.image-box:hover img {
    filter: grayscale(0%) brightness(1);
}

.image-box .number {
    position: absolute;
    top: 15px;
    left: 15px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.3em;
    color: #A5891E;
    font-weight: 700;
    z-index: 2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}
.number {
    background-color: #0000009c;
    border-radius: 5px;
    padding: 2px;
    padding-left: 5px;
    padding-right: 5px;
}

.image-box .more-info {
    position: absolute;
    bottom: 10px;
    left: 15px;
    right: 15px;
    color: #A5891E;
    font-size: 1em;
    font-weight: 700;
    text-align: center;
    letter-spacing: 3px;
    z-index: 2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    transform: translateY(10px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.image-box:hover .more-info {
    transform: translateY(0);
    opacity: 1;
}

.social-icons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10;
}

.social-icons a {
    color: #A5891E;
    font-size: 2em;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: #fff;
    transform: scale(1.1);
}

/* Animace */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ----- Styly pro galerii (photos.php) ----- */
.gallery-container {
    flex-grow: 1;
    padding: 120px 50px 50px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-header {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 40px;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.gallery-header h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 2em;
    color: #A5891E;
//    margin-bottom: 15px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.gallery-header p {
    font-size: 1.2em;
    color: #ccc;
    line-height: 1.6;
}

.category-filter {
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.category-filter a {
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.7);
    color: #A5891E;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid #A5891E;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    font-weight: 700;
    font-size: 1.1em;
}

.category-filter a:hover,
.category-filter a.active {
    background-color: #A5891E;
    color: #000;
    border-color: #A5891E;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    justify-content: center;
}

.gallery-item {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(242, 201, 44, 0.5);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-info {
    padding: 15px;
    text-align: center;
}

.gallery-item-info h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5em;
    color: #A5891E;
    margin-bottom: 10px;
}

.gallery-item-info p {
    font-size: 0.9em;
    color: #ccc;
}

.no-photos {
    text-align: center;
    font-size: 1.5em;
    color: #ff6666;
    margin-top: 50px;
}

/* ==================== Responzivní design ==================== */

/* Tablet a menší desktop (např. 1200px až 769px) */
@media (max-width: 1200px) {
    .header {
        padding: 15px 30px;
    }
    .hero-content h1 {
        font-size: 4.5em;
    }
    .hero-content p {
        font-size: 1.6em;
    }
    .image-boxes {
        right: 30px;
        bottom: 30px;
        gap: 20px;
    }
    .image-box {
        //width: 250px;
        height: 350px;
    }
    .image-box .number {
        font-size: 1.2em;
    }
    .number {
        background-color: #0000009c;
        border-radius: 5px;
        padding: 2px;
        padding-left: 5px;
        padding-right: 5px;
    }
    .gallery-container {
        padding: 100px 30px 30px 30px;
    }
    .gallery-header h1 {
        font-size: 2em;
    }
    .gallery-header p {
        font-size: 1.2em;
    }
}

@media (max-width: 960px) {
    .header {
        padding: 15px 20px;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 50px;
        right: 0;
        width: 80%;
        background: rgba(0, 0, 0, 0.7);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7);
        padding: 20px 20px;
        text-align: right;
        transition: transform 0.3s ease-out;
        transform: translateY(-100%);
    }

    .nav-menu.active {
        display: flex;
        transform: translateY(0);
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 20px;
    }

    .nav-menu ul li a {
        font-size: 1em;
        padding: 10px;
    }

    .hamburger {
        display: block;
    }

    .hero-section {
        grid-template-columns: 1fr;
        padding: 100px 20px 20px 20px;
        text-align: center;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .hero-content {
        max-width: 90%;
        margin: 0 auto;
        justify-self: center;
    }

    .hero-content h1 {
        font-size: 3.2em;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 1.4em;
        margin-bottom: 30px;
    }

    .train-button {
        font-size: 1.3em;
        padding: 15px 30px;
    }

    .image-boxes {
        flex-direction: column;
        position: static;
        align-items: center;
        justify-self: center;
        //margin-top: 60px;
        right: auto;
        bottom: auto;
        width: 90%;
    }

    .image-box {
        width: 90%;
        //max-width: 320px;
        height: 100%;
    }

    .social-icons {
        position: static;
        transform: none;
        flex-direction: row;
        justify-content: center;
        //margin-top: 50px;
        padding-bottom: 30px;
        gap: 25px;
    }

    .social-icons a {
        font-size: 1.8em;
    }

    .gallery-container {
        padding: 80px 15px 15px 15px;
    }
    .gallery-header h1 {
        font-size: 1.8em;
    }
    .gallery-header p {
        font-size: 1em;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    .gallery-item img {
        height: 200px;
    }
    .category-filter {
        gap: 10px;
    }
    .category-filter a {
        font-size: 1em;
        padding: 8px 15px;
    }
}

/* Extra malé obrazovky (např. do 480px) */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5em;
    }
    .hero-content p {
        font-size: 1.1em;
    }
    .train-button {
        font-size: 1.1em;
        padding: 12px 25px;
    }
    .image-box {
        width: 95%;
        //max-width: 280px;
        height: 100%;
    }
    .image-box .number {
        font-size: 1em;
    }
    .number {
        background-color: #0000009c;
        border-radius: 5px;
        padding: 2px;
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .image-box .more-info {
        font-size: 1em;
    }
    .gallery-header h1 {
        font-size: 1.5em;
    }
    .gallery-header p {
        font-size: 0.7em;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .gallery-item {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    .gallery-item img {
        height: 220px;
    }
}


/* Styly pro podsložky (albumy) */
.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    justify-content: center;
    margin-top: 40px;
}

.subcategory-card {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
}

.subcategory-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(242, 201, 44, 0.6);
}

.subcategory-card-img {
    width: 100%;
    height: 200px; /* Pevná výška náhledu složky */
    object-fit: cover;
    display: block;
    border-bottom: 3px solid #A5891E;
}

.subcategory-card-info {
    padding: 20px;
    flex-grow: 1; /* Zajistí, že info zabere zbytek místa */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.subcategory-card-info h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8em;
    color: #A5891E;
    margin-bottom: 10px;
}

.subcategory-card-info p {
    font-size: 0.95em;
    color: #ccc;
    line-height: 1.5;
}

/* Styly pro galerii konkrétní složky */
.photos-in-subcategory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin-top: 40px;
}

.photo-thumbnail-item {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.photo-thumbnail-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(242, 201, 44, 0.5);
}

.photo-thumbnail-item img {
    width: 100%;
    height: 250px; /* Miniatura 300x300, použijeme object-fit */
    object-fit: cover; /* Důležité pro oříznutí a vyplnění */
    display: block;
}

/* Tlačítko zavřít */
.close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Lightbox styly */
.lightbox-overlay {
    display: none; /* Skryté ve výchozím stavu */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.lightbox-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 80%; /* Maximální šířka */
    max-height: 90%; /* Maximální výška */
    animation: fadeInScale 0.3s ease-out;
}

.lightbox-content img {
    max-width: 100%; /* max. 80% okna */
    max-height: 80vh; /* max. 80% výšky okna */
    height: auto;
    object-fit: contain;
    border: 5px solid #A5891E;
    box-shadow: 0 0 20px rgba(242, 201, 44, 0.7);
    border-radius: 5px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3em;
    color: #A5891E;
    cursor: pointer;
//    background: rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
    border-radius: 50%;
    transition: background 0.3s ease, color 0.3s ease;
}

.lightbox-nav:hover {
//    background: rgba(0, 0, 0, 0.8);
    color: #fff;
}

.lightbox-nav {
    display: flex; 
}

.lightbox-nav.prev {
    left: -60px; /* Posunuto ven od obrázku */
}

.lightbox-nav.next {
    right: -60px; /* Posunuto ven od obrázku */
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3em;
    color: #A5891E;
    cursor: pointer;
//    background: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    border-radius: 50%;
    transition: background 0.3s ease, color 0.3s ease;
}

.lightbox-close:hover {
//    background: rgba(0, 0, 0, 0.8);
    color: #fff;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsivní design (doplnění pro nové prvky) */
@media (max-width: 960px) {
    .subcategories-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    .subcategory-card {
        height: auto; /* Dovolí kartě se přizpůsobit obsahu */
    }
    .subcategory-card-img {
        height: 150px;
    }
    .subcategory-card-info h3 {
        font-size: 1.4em;
    }
    .photos-in-subcategory-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }
    .photo-thumbnail-item img {
        height: 180px;
    }
    .lightbox-nav {
        font-size: 2em;
        padding: 5px 10px;
    }
    .lightbox-nav.prev {
        left: 10px;
        justify-content: flex-start;
        display: flex;
    }
    .lightbox-nav.next {
        right: 10px;
        justify-content: flex-end;
        display: flex;
    }
    .lightbox-close {
        font-size: 2.5em;
        top: 10px;
        right: 10px;
        padding: 0px 10px;
    }
    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }
}

@media (max-width: 480px) {
    .subcategories-grid,
    .photos-in-subcategory-grid {
        grid-template-columns: 1fr; /* Jeden sloupec */
        gap: 15px;
    }
    .subcategory-card,
    .photo-thumbnail-item {
        max-width: 300px; /* Omezí šířku jednoho sloupce */
        margin: 0 auto;
    }
    .subcategory-card-img {
        height: 180px;
    }
    .photo-thumbnail-item img {
        height: 200px;
    }
    .lightbox-nav.prev, .lightbox-nav.next {
        padding: 2px 8px;
    }
    
    .lightbox-nav.prev {
        left: 5px;
        justify-content: flex-start;
        display: flex;
    }
    .lightbox-nav.next {
        right: 5px;
        justify-content: flex-end;
        display: flex;
    }
    
    .lightbox-close {
        top: 5px;
        right: 5px;
        font-size: 2em;
    }
}

/* --- Styly pro kontaktní stránku (mp_contact.php) --- */

.content-section {
    padding-top: 100px; /* Aby obsah nebyl pod hlavičkou */
    text-align: center;
    padding-bottom: 50px; /* Prostor dole */
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px; /* Zvětšený padding pro lepší vzhled */
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    color: #ccc; /* Základní barva textu pro kontejner */
}

.contact-container h2 {
    color: #A5891E;
    font-family: 'Oswald', sans-serif;
    font-size: 2.8em; /* Zvětšený font */
    margin-bottom: 40px; /* Více prostoru */
    text-transform: uppercase; /* Pro konzistenci s nadpisy */
}

.company-info,
.person-contacts,
.contact-form-section {
    margin-bottom: 40px; /* Více prostoru mezi sekcemi */
    text-align: left;
    padding: 0 20px; /* Odsazení zleva a zprava */
}

.company-info h3,
.person-contacts h3,
.contact-form-section h3 {
    color: #A5891E;
    font-family: 'Oswald', sans-serif;
    margin-bottom: 20px; /* Více prostoru pod podnadpisem */
    font-size: 2em; /* Zvětšený font */
    border-bottom: 2px solid rgba(165, 137, 30, 0.5); /* Decentní linka */
    padding-bottom: 10px;
}

.company-info p,
.person-contacts p {
    font-size: 1.1em;
    margin-bottom: 8px; /* Menší mezera mezi odstavci */
    line-height: 1.5; /* Lepší čitelnost */
}

.person-item {
    margin-bottom: 15px; /* Mezera mezi jednotlivými kontaktními osobami */
}

.person-contacts a {
    color: #A5891E; /* Barva odkazu */
    text-decoration: none; /* Bez podtržení */
    transition: color 0.3s ease;
}

.person-contacts a:hover {
    color: #FFD700; /* Zvýraznění při najetí myší */
    text-decoration: underline; /* Podtržení při najetí myší */
}

/* Styly pro formulář */
.form-group {
    margin-bottom: 20px; /* Více prostoru mezi skupinami formuláře */
    text-align: left; /* Zarovnání popisků a inputů vlevo */
}

.form-group label {
    color: #ccc;
    font-size: 1em;
    margin-bottom: 8px; /* Více prostoru pod popiskem */
    display: block; /* Aby label byl na vlastním řádku */
    font-weight: bold; /* Zvýraznění popisků */
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px; /* Zvětšený padding */
    border: 1px solid #A5891E;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1); /* Průhledné pozadí */
    color: #fff;
    font-size: 1em; /* Konzistentní velikost textu */
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    border-color: #FFD700; /* Zvýraznění borderu při focusu */
    background-color: rgba(255, 255, 255, 0.15); /* Mírné zesvětlení pozadí */
    outline: none; /* Odstraní výchozí outline prohlížeče */
}

.form-group textarea {
    resize: vertical; /* Povolí pouze vertikální změnu velikosti */
}

/* Styly pro tlačítko (převzato z existujících tříd, pokud existují, jinak přidáno) */
.btn.btn-primary {
    background-color: #A5891E;
    color: #000; /* Černý text na zlatém pozadí */
    padding: 14px 30px; /* Větší padding */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em; /* Větší font */
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease; /* Přidán transform pro efekt */
    display: inline-block; /* Aby šly nastavit padding a transform */
    margin-top: 20px; /* Mezera nad tlačítkem */
}

.btn.btn-primary:hover {
    background-color: #FFD700; /* Světlejší zlatá při najetí myší */
    transform: translateY(-2px); /* Mírný posun nahoru */
}

/* Responzivní úpravy */
@media (max-width: 960px) {
    .contact-container {
        padding: 20px;
        margin: 0 15px; /* Menší margin na menších obrazovkách */
    }

    .contact-container h2 {
        font-size: 2em;
        margin-bottom: 25px;
    }

    .company-info h3,
    .person-contacts h3,
    .contact-form-section h3 {
        font-size: 1.6em;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .contact-container {
        padding: 15px;
        margin: 0 10px;
    }

    .contact-container h2 {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .company-info h3,
    .person-contacts h3,
    .contact-form-section h3 {
        font-size: 1.4em;
        margin-bottom: 10px;
    }
    .company-info p,
    .person-contacts p {
        font-size: 0.8em;
    }

    .form-group label {
        font-size: 0.8em;
    }

    .btn.btn-primary {
        width: 100%; /* Tlačítko na celou šířku */
        padding: 12px 20px;
        font-size: 1.1em;
    }
}
