* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* === NAVIGÁCIA - 80 % priehľadná (20 % jemný overlay + blur) === */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
    z-index: 1000;
}

nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    background: transparent;
}

/* Odsadenie obsahu pod fixným nav barom (albumy, preteky…) */
main > .container {
    padding-top: 5.5rem;
}

/* Ľavé odkazy */
.nav-links.left {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Pravé odkazy */
.nav-links.right {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    font-weight: 500;
    color: white;
    transition: 0.2s;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.nav-link:hover,
.nav-link.active {
    color: #f0f0f0;
    opacity: 0.8;
}

/* Logo v strede */
.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    height: 45px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Pravá časť */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.language-selector select {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 40px;
    padding: 0.4rem 1rem;
    font-family: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    color: white;
    backdrop-filter: blur(5px);
}

.language-selector select option {
    background: #1a1a1a;
    color: white;
}

/* Hero sekcia s background obrázkom */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 70px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.95);
    max-width: 600px;
    margin: 0 auto 2rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.hero .btn-primary {
    background: white;
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero .btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Intro sekcia */
.intro-section {
    padding: 4rem 0;
    background: #f8f8f8;
    text-align: center;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
}

.intro-text p {
    margin: 0;
}

/* Sekcie */
.races-section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #666;
}

/* Gridy */
.races-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    justify-content: center;
}

@media (max-width: 1024px) {
    .races-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .races-grid {
        grid-template-columns: 1fr;
    }
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: #f8f8f8;
    border-radius: 24px;
    color: #888;
}

/* Karty */
.race-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.race-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.race-image {
    height: 220px;
    overflow: hidden;
}

.race-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.race-card:hover .race-image img {
    transform: scale(1.05);
}

.race-info {
    padding: 1.2rem;
}

.race-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.race-meta-small {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: #777;
    margin-bottom: 0.8rem;
}

.race-desc {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.btn-primary {
    display: inline-block;
    background: #1a1a1a;
    color: white;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 40px;
    font-weight: 500;
    transition: 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: #1a1a1a;
    text-decoration: none;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 500;
    font-size: 0.85rem;
    border: 1px solid #ddd;
    transition: 0.2s;
}

.btn-outline:hover {
    border-color: #1a1a1a;
    background: #f5f5f5;
}

/* Footer */
footer {
    background: #f8f8f8;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid #eee;
}

.footer-content {
    text-align: center;
}

.footer-info {
    margin-bottom: 1rem;
}

.footer-info p {
    margin: 0.3rem 0;
}

.footer-info a {
    color: #1a1a1a;
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
}

.footer-copyright {
    color: #888;
    font-size: 0.8rem;
}

/* Responzívne */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    nav {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0.8rem 1rem;
    }
    
    .nav-links.left,
    .nav-links.right {
        gap: 1.5rem;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .nav-right {
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .intro-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-links.left,
    .nav-links.right {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .logo-img {
        height: 30px;
        max-width: 120px;
    }
}

/* Pravá časť navigácie */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.language-selector select {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 40px;
    padding: 0.4rem 1rem;
    font-family: inherit;
    font-size: 0.85rem;
    cursor: pointer;
}

/* Hero */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(145deg, #fafafa 0%, #f0f0f0 100%);
    margin-top: 70px;
}

.hero-badge {
    display: inline-block;
    background: #e8e8e8;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.hero p {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.btn-primary {
    display: inline-block;
    background: #1a1a1a;
    color: white;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 40px;
    font-weight: 500;
    transition: 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
}

.btn-primary.small {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: #1a1a1a;
    text-decoration: none;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 500;
    font-size: 0.85rem;
    border: 1px solid #ddd;
    transition: 0.2s;
}

.btn-outline:hover {
    border-color: #1a1a1a;
    background: #f5f5f5;
}

/* Sekcie */
.races-section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #666;
}

/* Gridy */
.races-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    justify-content: center;
}

.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* Centrovanie pri málo položkách */
@media (min-width: 1025px) {
    .races-grid:has(.race-card:only-child) {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .races-grid:has(.race-card:nth-last-child(2):first-child),
    .races-grid:has(.race-card:nth-last-child(2):first-child) ~ .race-card {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        margin: 0 auto;
    }
    
    .races-grid:has(.race-card:nth-last-child(3):first-child) {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1000px;
        margin: 0 auto;
    }
}

@media (max-width: 1024px) {
    .races-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .races-grid {
        grid-template-columns: 1fr;
    }
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: #f8f8f8;
    border-radius: 24px;
    color: #888;
}

/* Karty */
.race-card, .album-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.race-card:hover, .album-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.race-image, .album-image {
    height: 220px;
    overflow: hidden;
}

.race-image img, .album-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.race-card:hover .race-image img,
.album-card:hover .album-image img {
    transform: scale(1.05);
}

.race-info, .album-info {
    padding: 1.2rem;
}

.race-info h3, .album-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.race-meta-small {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: #777;
    margin-bottom: 0.8rem;
}

.race-date, .race-location {
    font-size: 0.85rem;
    color: #777;
    margin: 0.2rem 0;
}

.race-desc {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.price-link {
    display: inline-block;
    margin: 0.5rem 0;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.85rem;
}

.price-link:hover {
    text-decoration: underline;
}

/* Detail pretekov */
.race-header {
    margin: 2rem 0;
}

.race-meta {
    display: flex;
    gap: 2rem;
    color: #666;
    margin: 1rem 0;
}

.race-full-desc {
    margin-top: 1rem;
    line-height: 1.6;
}

.back-link {
    display: inline-block;
    margin: 1rem 0;
    color: #666;
    text-decoration: none;
}

.back-link:hover {
    color: #000;
}

/* Fotky grid */
.photo-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
}

.photo-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.photo-wrapper img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: 0.3s;
    display: block;
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 1rem;
    transform: translateY(100%);
    transition: 0.3s;
}

.photo-card:hover .photo-overlay {
    transform: translateY(0);
}

.photo-card:hover img {
    transform: scale(1.05);
}

.order-now {
    background: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: 0.2s;
}

.order-now:hover {
    background: #1a1a1a;
    color: white;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-content {
    background: white;
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    border-radius: 24px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

/* Pre pekné scrollovanie na mobile */
.modal-content::-webkit-scrollbar {
    width: 5px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Responzívne pre mobil */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 85vh;
        padding: 1.2rem;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        max-height: 80vh;
        padding: 1rem;
    }
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-family: inherit;
}

.submit-order {
    width: 100%;
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
}

.info-note {
    margin-top: 1rem;
    font-size: 0.8rem;
    text-align: center;
    color: #888;
}

/* Kontakt stránka */
.contact-section {
    padding: 6rem 0 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.contact-info h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.info-card {
    background: #f8f8f8;
    padding: 1.5rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.info-card h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.info-card a {
    color: #1a1a1a;
    text-decoration: none;
}

.info-card a:hover {
    text-decoration: underline;
}

.contact-form {
    background: #f8f8f8;
    padding: 2rem;
    border-radius: 24px;
}

.contact-form h2 {
    margin-bottom: 1.5rem;
}

.alert {
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.alert.success {
    background: #dcfce7;
    color: #16a34a;
}

.alert.error {
    background: #fee2e2;
    color: #dc2626;
}

.map-container {
    margin-top: 2rem;
}

.map-container h2 {
    margin-bottom: 1rem;
}

/* Slider pre fotky */
.slider-container-photo {
    position: relative;
    margin: 2rem 0;
    border-radius: 24px;
    overflow: hidden;
    background: #f8f8f8;
}

.slider-main {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.slider-track-photo {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slider-slide {
    flex: 0 0 100%;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
}

.slider-slide img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 2rem 1rem 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slider-slide:hover .slide-overlay {
    opacity: 1;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    transition: 0.2s;
    z-index: 10;
}

.slider-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.05);
}

.prev-slide {
    left: 20px;
}

.next-slide {
    right: 20px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding-bottom: 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
}

.dot.active {
    background: #1a1a1a;
    width: 24px;
    border-radius: 10px;
}

.dot:hover {
    background: #666;
}

.empty-photos {
    text-align: center;
    padding: 4rem;
    background: #f8f8f8;
    border-radius: 24px;
    color: #888;
}

/* Delete button */
.delete-photo-btn {
    display: block;
    background: #dc2626;
    color: white;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 40px;
    font-size: 0.8rem;
    text-align: center;
    margin-top: 0.5rem;
    transition: 0.2s;
}

.delete-photo-btn:hover {
    background: #b91c1c;
}

/* Footer */
footer {
    background: #f8f8f8;
    padding: 2rem 0;
    text-align: center;
    color: #888;
    margin-top: 4rem;
}

/* Ochrana fotiek */
img {
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* Responzívne pre slider */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    nav {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0.8rem 1rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .nav-right {
        gap: 1rem;
    }
    
    .races-grid, .albums-grid, .photos-grid {
        grid-template-columns: 1fr;
    }
    
    .race-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .slider-slide {
        min-height: 300px;
    }
    
    .slider-nav {
        font-size: 1.5rem;
        padding: 0.2rem 0.8rem;
    }
    
    .prev-slide { left: 10px; }
    .next-slide { right: 10px; }
    
    .slide-overlay {
        opacity: 1;
        padding: 1rem;
    }
    
    .order-now, .delete-photo-btn {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .logo-img {
        height: 40px;
        width: auto;
        max-width: 160px;
        object-fit: contain;
        display: block;
        filter: drop-shadow(2px 4px 8px rgba(0, 0, 0, 0.15));
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
}

.race-image img, .album-image img {
    background: #f0f0f0;
    object-fit: cover;
}

/* Footer */
footer {
    background: #f8f8f8;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid #eee;
}

.footer-content {
    text-align: center;
}

.footer-info {
    margin-bottom: 1rem;
}

.footer-info p {
    margin: 0.3rem 0;
}

.footer-info a {
    color: #1a1a1a;
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
}

.footer-copyright {
    color: #888;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .footer-info p {
        font-size: 0.85rem;
    }
}

/* Hero sekcia s background obrázkom */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 70px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.95);
    max-width: 600px;
    margin: 0 auto 2rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.hero .btn-primary {
    background: white;
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero .btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Intro sekcia */
.intro-section {
    padding: 4rem 0;
    background: #f8f8f8;
    text-align: center;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
}

.intro-text p {
    margin: 0;
}

/* ============================================ */
/* RESPONZÍVNE ÚPRAVY PRE MOBILY A TABLETY */
/* ============================================ */

/* Objednávkový modal - mobilná verzia */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 1.2rem;
        max-height: 90vh;
        overflow-y: auto;
        border-radius: 20px;
    }
    
    .modal-content h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .form-group {
        margin-bottom: 0.8rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 0.2rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    /* Dva stĺpce na mobiloch - dajú sa pod seba */
    .form-row {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .form-row .form-group {
        width: 100%;
    }
    
    /* Košík bar na mobile */
    .cart-bar {
        bottom: 10px;
        right: 10px;
        left: 10px;
        border-radius: 50px;
        padding: 10px 16px;
        font-size: 0.85rem;
        justify-content: space-between;
    }
    
    .cart-bar button {
        padding: 6px 16px;
        font-size: 0.85rem;
    }
    
    /* Fotky grid na mobile */
    .photos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .photo-wrapper img {
        height: 180px;
    }
    
    .photo-checkbox {
        width: 20px;
        height: 20px;
        top: 8px;
        left: 8px;
    }
    
    /* Kontaktná stránka - mobil */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-info h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .info-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .info-card h2 {
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 1.2rem;
    }
    
    .map-container iframe {
        height: 250px;
    }
    
    /* Album grid */
    .albums-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Race grid */
    .races-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    /* Header navigácia na mobile */
    nav {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.6rem 1rem;
    }
    
    .nav-links.left, .nav-links.right {
        gap: 1.2rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .logo-img {
        height: 30px;
    }
    
    .language-selector select {
        padding: 0.3rem 0.8rem;
        font-size: 0.75rem;
    }
    
    /* Hero sekcia na mobile */
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
    
    .hero .btn-primary {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .intro-text {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }
    
    /* Tlačidlá */
    .btn-primary, .btn-outline, .submit-order {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    /* Footer */
    .footer-info p {
        font-size: 0.75rem;
    }
}

/* Extra malé telefóny (do 480px) */
@media (max-width: 480px) {
    .photos-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 1rem;
    }
    
    .cart-bar {
        font-size: 0.75rem;
        padding: 8px 12px;
    }
    
    .cart-bar button {
        padding: 5px 12px;
        font-size: 0.75rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
    
    .nav-links.left, .nav-links.right {
        gap: 0.8rem;
    }
    
    .nav-link {
        font-size: 0.75rem;
    }
    
    .logo-img {
        height: 25px;
    }
}

/* Tablety (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .photos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .races-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .albums-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-content {
        max-width: 90%;
    }
}

/* Form row - dva stĺpce na desktop, jeden na mobile */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* Lepšie scrollovanie modalu na mobile */
.modal {
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .modal {
        align-items: center;
        justify-content: center;
        padding: 0;
    }
}

/* Zväčšenie tlačidiel na dotyk */
button, 
.btn, 
.btn-primary, 
.btn-outline, 
.submit-order,
.order-now,
.delete-photo-btn,
.cart-bar button {
    cursor: pointer;
}

@media (max-width: 768px) {
    button, 
    .btn, 
    .btn-primary, 
    .btn-outline, 
    .submit-order,
    .order-now,
    .delete-photo-btn {
        min-height: 44px; /* Minimálna veľkosť pre pohodlné kliknutie prstom */
    }
    
    .photo-checkbox {
        width: 24px;
        height: 24px;
    }
}

/* Oddelenie prvkov v modale */
.modal-content .form-group:last-of-type {
    margin-bottom: 1rem;
}