/* Reset a základné štýly */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(rgba(20, 20, 20, 0.7), rgba(30, 30, 30, 0.7)), url('images/problock1.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    color: #e0e0e0;
    position: relative;
    overflow-x: hidden;
}

/* Navigácia */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 12px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.nav-contact {
    display: flex;
    align-items: center;
}

.phone-link {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: 25px;
    background: linear-gradient(135deg, #34495e, #2c3e50);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(52, 73, 94, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 73, 94, 0.4);
    background: linear-gradient(135deg, #2c3e50, #34495e);
}

.phone-icon {
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: transparent;
    border: 1px solid transparent;
    opacity: 0.9;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    opacity: 1;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Hlavný obsah */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    padding: 0;
}

.section {
    padding: 2rem 0;
    min-height: calc(100vh - 70px);
}

/* Unified Container */
.unified-container {
    max-width: 1200px;
    background: rgba(30, 30, 30, 0.95);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin: 2rem auto;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Tips Header */
.tips-header {
    background: transparent;
    padding: 3rem 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tips-header h2 {
    color: #4ecdc4;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.tips-header p {
    color: #c0c0c0;
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 3rem 2rem;
}

.tip-card {
    background: rgba(40, 40, 40, 0.9);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.tip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4ecdc4, #44a08d);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tip-card:hover::before {
    opacity: 1;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-color: rgba(78, 205, 196, 0.3);
}

.tip-card h3 {
    color: #4ecdc4;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.tip-card p {
    color: #c0c0c0;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tip-card .tip-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #4ecdc4;
    display: block;
}

/* Highlighted Tips */
.tip-highlight {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border: 1px solid rgba(78, 205, 196, 0.3);
}

.tip-highlight h3 {
    color: white;
}

.tip-highlight p {
    color: rgba(255, 255, 255, 0.9);
}

.tip-highlight .tip-icon {
    color: #4ecdc4;
}

/* Professional Advice Section */
.professional-advice {
    background: rgba(44, 62, 80, 0.9);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 15px;
    border-left: 5px solid #4ecdc4;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.professional-advice h4 {
    color: #4ecdc4;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.professional-advice p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.professional-advice ul {
    color: rgba(255, 255, 255, 0.9);
    padding-left: 1.5rem;
}

.professional-advice li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin: 2rem 0;
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-cta h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.contact-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cta-btn {
    background: white;
    color: #2c3e50;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    background: #f8f9fa;
}

/* Responzívny dizajn */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 100px;
        flex-direction: column;
        background-color: rgba(26, 26, 26, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .unified-container {
        margin: 1rem;
        max-width: 95%;
    }
    
    .tips-header {
        padding: 2rem 1.5rem;
    }
    
    .tips-header h2 {
        font-size: 2.2rem;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }
    
    .tip-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .tips-header {
        padding: 1.5rem 1rem;
    }
    
    .tips-header h2 {
        font-size: 1.8rem;
    }
    
    .tips-header p {
        font-size: 1rem;
    }
    
    .tips-grid {
        padding: 1.5rem 1rem;
        gap: 1rem;
    }
    
    .tip-card {
        padding: 1rem;
    }
    
    .tip-card h3 {
        font-size: 1.2rem;
    }
    
    .tip-card .tip-icon {
        font-size: 2rem;
    }
    
    .professional-advice,
    .contact-cta {
        padding: 1.5rem;
    }
}

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

/* Utility triedy */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}