/* ========================================
   TEREZA JAKUBÍČKOVÁ - Custom Styles
   Nad Tailwind CSS CDN
   ======================================== */

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(245, 158, 11, 0.3);
    color: #fff;
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #f59e0b;
}

/* === NAVIGACE === */
.nav-link {
    position: relative;
    color: #d1d5db;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #f59e0b;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f59e0b;
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #262626;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* === TLAČÍTKA === */
.btn-primary {
    display: inline-block;
    padding: 12px 32px;
    background: #f59e0b;
    color: #0a0a0a;
    font-weight: 700;
    border-radius: 9999px;
    transition: all 0.3s;
    text-decoration: none;
    border: 2px solid #f59e0b;
    text-align: center;
    cursor: pointer;
}

.btn-primary:hover {
    background: #d97706;
    border-color: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(245, 158, 11, 0.3);
}

.btn-outline {
    display: inline-block;
    padding: 12px 32px;
    background: transparent;
    color: #fff;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.3s;
    text-decoration: none;
    border: 2px solid #404040;
    text-align: center;
    cursor: pointer;
}

.btn-outline:hover {
    border-color: #f59e0b;
    color: #f59e0b;
    transform: translateY(-2px);
}

/* === KARTY SLUŽEB === */
.service-card {
    background: rgba(21, 21, 21, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid #262626;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(245, 158, 11, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #f59e0b;
    margin-bottom: 1.25rem;
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    background: #f59e0b;
    color: #0a0a0a;
    transform: scale(1.1);
}

/* === HODNOTOVÉ KARTY === */
.value-card {
    background: rgba(21, 21, 21, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid #262626;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.value-card:hover {
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-4px);
}

/* === REFERENCE === */
.testimonial-card {
    background: rgba(21, 21, 21, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid #262626;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s;
}

.testimonial-card:hover {
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-4px);
}

/* === FORMULÁŘE === */
.form-input {
    width: 100%;
    padding: 14px 20px;
    background: #151515;
    border: 1px solid #262626;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.form-input:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.form-input::placeholder {
    color: #6b7280;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #d1d5db;
    font-size: 0.875rem;
}

.form-select {
    width: 100%;
    padding: 14px 20px;
    background: #151515;
    border: 1px solid #262626;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23f59e0b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    font-family: 'Inter', sans-serif;
}

.form-select:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.form-radio {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #404040;
    border-radius: 50%;
    background: #151515;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.form-radio:checked {
    border-color: #f59e0b;
    background: #f59e0b;
    box-shadow: inset 0 0 0 4px #151515;
}

.form-checkbox {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #404040;
    border-radius: 6px;
    background: #151515;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.form-checkbox:checked {
    border-color: #f59e0b;
    background: #f59e0b;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230a0a0a' d='M10 3L5 8 2 5' stroke='%230a0a0a' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* === FAQ ACCORDION === */
.faq-item {
    background: rgba(21, 21, 21, 0.6);
    border: 1px solid #262626;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: rgba(245, 158, 11, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: color 0.3s;
}

.faq-question:hover {
    color: #f59e0b;
}

.faq-question .faq-icon {
    transition: transform 0.3s;
    color: #f59e0b;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-question .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.25rem;
}

/* === LOKACE KARTY === */
.location-card {
    background: rgba(21, 21, 21, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid #262626;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s;
}

.location-card:hover {
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-4px);
}

/* === HERO PAGE (podstránky) === */
.page-hero {
    position: relative;
    padding: 10rem 0 6rem;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,10,10,0.7), rgba(10,10,10,0.95));
    z-index: 1;
}

.page-hero > * {
    position: relative;
    z-index: 2;
}

/* === CENÍKOVÁ TABULKA === */
.price-card {
    background: rgba(21, 21, 21, 0.8);
    border: 1px solid #262626;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s;
}

.price-card.select-service {
    cursor: pointer;
}

.price-card:hover {
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-2px);
}

.price-card.selected {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}

.price-card.selected::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    color: #f59e0b;
    font-size: 0.75rem;
}

.price-card.select-service {
    position: relative;
}

.price-card.featured {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.05);
}

/* === O MNĚ - TIMELINE === */
.timeline-item {
    position: relative;
    padding-left: 2rem;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #f59e0b;
    border: 3px solid #0a0a0a;
    z-index: 1;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 20px;
    width: 2px;
    height: calc(100% - 20px);
    background: #262626;
}

.timeline-item:last-child::after {
    display: none;
}

/* === ANIMACE === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(245, 158, 11, 0.4);
    }
}

.animate-pulse-glow {
    animation: pulse-glow 3s infinite;
}

/* === RESPONZIVNÍ ÚPRAVY === */
@media (max-width: 768px) {
    .service-card {
        padding: 1.5rem;
    }

    .value-card {
        padding: 1.5rem;
    }

    .page-hero {
        padding: 8rem 0 4rem;
        min-height: 40vh;
    }
}

/* === GALERIE === */
.gallery-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover::after {
    opacity: 1;
}
