/* Variables */
:root {
    --primary-color: #5D1A6B; /* Tmavší fialová podle loga */
    --secondary-color: #7B2D8E; /* Původní fialová jako sekundární */
    --tertiary-color: #9333EA; /* Fialová pro hover efekty */
    --light-bg: #FDFBFF; /* velmi jemná fialová pro pozadí */
    --dark-bg: #2D1B3D; /* Tmavší fialová pro footer */
    --footer-bg: #1A0F1F; /* Velmi tmavá fialová pro footer */
    --text-color: #333;
    --text-light: #fff;
    --border-color: #E5E7EB;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(93, 26, 107, 0.15);
    --border-radius: 8px;
    --gradient-primary: linear-gradient(135deg, #5D1A6B 0%, #7B2D8E 100%);
    --gradient-light: linear-gradient(135deg, #FDFBFF 0%, #F3E8FF 100%);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: 'Merriweather', serif;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 20px;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7B2D8E 0%, #9333EA 100%);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(93, 26, 107, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--gradient-primary);
    color: var(--text-light);
    border-color: transparent;
    transform: translateY(-2px);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: var(--shadow);
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo a {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.logo a:hover .logo-img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 600;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

/* Jazykový přepínač */
.language-switch {
    position: relative;
    z-index: 1;
}

.language-switcher {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    padding: 8px 12px;
    border-radius: var(--border-radius);
    background: rgba(123, 45, 142, 0.1);
    border: 1px solid rgba(123, 45, 142, 0.2);
    gap: 8px;
}

.language-switcher:hover {
    color: var(--text-light);
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

/* Styly pro nové img vlajky */
.flag-img {
    border-radius: 2px;
    border: 1px solid rgba(255,255,255,0.2);
    margin-right: 8px;
}

.language-switcher .lang-text {
    font-size: 0.9em;
    white-space: nowrap;
}

/* Hamburger menu */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    padding: 8px;
    border-radius: 4px;
    transition: var(--transition);
}

.hamburger:hover {
    background-color: rgba(var(--primary-color-rgb), 0.1);
}

.hamburger:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background: var(--gradient-primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* Aktivní stav hamburger menu */
.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);
}

/* Header scrolled stav */
header.scrolled {
    padding: 5px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    background: linear-gradient(rgba(93, 26, 107, 0.7), rgba(123, 45, 142, 0.6)), url(../img/hero-background-7.gif);
    background-size: cover;
    background-position: center -20%;
    background-attachment: scroll;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 40px 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* Nové styly pro hodnoty v hero sekci */
.hero-values {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: var(--border-radius);
    min-width: 120px;
    transition: var(--transition);
}

.hero-value-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.hero-value-item i {
    font-size: 24px;
    margin-bottom: 8px;
    color: #FFFFFF;
    background: rgba(255,255,255,0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-value-item span {
    font-weight: 600;
}

/* Responsivní úpravy pro hodnoty */
@media (max-width: 768px) {
    .hero-values {
        gap: 10px;
    }
    
    .hero-value-item {
        min-width: 100px;
        padding: 10px;
    }
    
    .hero-value-item i {
        font-size: 20px;
    }
    
    .hero-value-item span {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .hero-values {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Services Section */
.services-intro {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}

.services-intro p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.services-intro-expanded {
    margin-top: 30px;
    padding: 0;
    text-align: left;
}

.services-intro-expanded p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.services-intro-expanded strong {
    color: var(--primary-color);
}

.services-highlight-text {
    font-weight: 600;
    padding: 25px 30px;
    margin-top: 25px;
    background: var(--gradient-light);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
    position: relative;
}

.services-highlight-text strong {
    color: var(--secondary-color);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 60px;
}

.service-card {
    flex: 1 1 250px;
    max-width: 350px;
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(123, 45, 142, 0.1), transparent);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(123, 45, 142, 0.2);
}

.service-card:hover::before {
    left: 100%;
}

.service-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    background: var(--gradient-light);
    color: var(--primary-color);
    font-size: 30px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid rgba(123, 45, 142, 0.1);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

.service-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--secondary-color);
    font-weight: 600;
}

.service-link:hover {
    color: var(--primary-color);
}

.services-process {
    margin-top: 50px;
}

.process-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 23px;
    height: calc(100% - 50px);
    width: 4px;
    background: linear-gradient(to bottom, 
        var(--secondary-color) 0%, 
        var(--primary-color) 50%, 
        var(--secondary-color) 100%);
    opacity: 0.4;
    border-radius: 2px;
}

.process-step {
    position: relative;
    margin-bottom: 40px;
    padding-left: 100px;
    counter-increment: process-counter;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 1);
}

.step-content {
    background-color: #fff;
    padding: 25px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.process-step:hover .step-content {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.step-content h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.step-content p {
    margin-bottom: 15px;
    color: var(--text-color);
}

.step-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed var(--border-color);
}

.step-details ul {
    padding-left: 20px;
}

.step-details li {
    position: relative;
    padding-left: 5px;
    margin-bottom: 10px;
    line-height: 1.4;
    list-style-type: none;
}

.step-details li::before {
    content: "•";
    position: absolute;
    left: -15px;
    color: var(--secondary-color);
    font-weight: bold;
}

.process-cta {
    margin-top: 50px;
    text-align: center;
    padding: 30px;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
}

.process-cta p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsivní úpravy pro proces */
@media (max-width: 768px) {
    .process-timeline::before {
        left: 18px;
        top: 20px;
        height: calc(100% - 40px);
    }
    
    .process-step {
        padding-left: 70px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step-content {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .process-timeline::before {
        left: 15.5px;
        top: 17.5px;
        height: calc(100% - 35px);
    }
    
    .process-step {
        padding-left: 60px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .step-content h4 {
        font-size: 1.1rem;
    }
}

/* About Section */
.about-content {
    max-width: 1100px;
    margin: 0 auto;
}

.about-story {
    margin-bottom: 60px;
}

.story-intro {
    margin-bottom: 30px;
    text-align: center;
}

.story-intro h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.highlight-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);
    line-height: 1.5;
    max-width: 900px;
    margin: 0 auto;
}

.story-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.story-column {
    position: relative;
}

.story-column p {
    margin-bottom: 25px;
    line-height: 1.7;
}

.story-column h4 {
    margin-top: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.about-features {
    margin-top: 25px;
    padding-left: 0;
}

.about-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    list-style-type: none;
}

.about-features i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
    margin-top: 3px;
}

.about-features span {
    flex: 1;
}

.about-quote {
    background-color: rgba(255, 107, 53, 0.05);
    border-left: 4px solid var(--secondary-color);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    position: relative;
}

.about-quote i {
    position: absolute;
    top: 10px;
    left: 10px;
    color: var(--secondary-color);
    opacity: 0.2;
    font-size: 1.5rem;
}

blockquote {
    font-style: italic;
    font-weight: 600;
    margin-left: 0;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    text-align: center;
    transition: var(--transition);
    padding: 20px;
    border-radius: var(--border-radius);
}

.value-item:hover {
    background-color: #fff;
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.value-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: var(--gradient-primary);
    color: var(--text-light);
    font-size: 24px;
    border-radius: 50%;
    margin: 0 auto 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-item:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Responzivní úpravy pro sekci O nás */
@media (max-width: 992px) {
    .story-details {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .highlight-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .highlight-text {
        font-size: 1.1rem;
    }
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.team-member {
    text-align: center;
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.member-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid var(--light-bg);
    background-color: var(--light-bg); /* Pozadí pro případ chybějícího obrázku */
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; /* Výchozí pozice */
}

/* Specifické pozicování pro jednotlivé obrázky */
.member-image img[src*="kristyna-6190"] {
    object-position: 0% 10%; /* Kristýna - posun ještě o trochu níž */
}

.member-image img[src*="DSC_9119"] {
    object-position: center 25%; /* Michal - jemný posun */
}

.member-position {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.member-bio {
    text-align: left;
    margin-top: 20px;
}

.member-bio p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Partners Section */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.partner-item {
    text-align: center;
    padding: 20px;
    border-radius: var(--border-radius);
    background-color: #fff;
    box-shadow: var(--shadow);
}

.partner-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    background-color: var(--light-bg);
    color: var(--primary-color);
    font-size: 24px;
    border-radius: 50%;
    margin: 0 auto 15px;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item i {
    width: 40px;
    height: 40px;
    line-height: 40px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    text-align: center;
    margin-right: 15px;
}

/* Footer */
footer {
    background: var(--footer-bg);
    color: rgba(255, 255, 255, 0.6);
    padding: 40px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.3rem;
    font-weight: 500;
}

.footer-logo p {
    margin-top: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-links ul li a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    font-size: 0.9rem;
}

.footer-social a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Aktivní položka menu */
.nav-menu a.active {
    color: var(--secondary-color);
    position: relative;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .language-switcher {
        padding: 6px 10px;
        font-size: 0.9em;
    }
    
    .language-switcher .lang-text {
        display: none;
    }
    
    .flag-img {
        width: 18px;
        height: 12px;
    }
    
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 75px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons a {
        width: 100%;
        max-width: 200px;
        margin-bottom: 10px;
    }
    
    .footer-content {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero {
        background-attachment: scroll; /* Vypnout fixed attachment na mobilu pro lepší výkon */
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .services-grid {
        flex-direction: column;
    }
    
    .service-card {
        max-width: 100%;
    }
    
    .process-steps,
    .values-grid,
    .team-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeIn {
    animation: fadeIn 1s ease forwards;
}

/* Services section with background */
#sluzby {
    background-image: url('../img/cesta.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

#sluzby::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

#sluzby .container {
    position: relative;
    z-index: 2;
}

/* Contact section with background */
#kontakt {
    background-image: url('../img/contact-background-3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

#kontakt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

#kontakt .container {
    position: relative;
    z-index: 2;
}

/* Form validation styles */
.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    min-height: 0;
    display: block;
}

.error-message:empty {
    display: none;
}

.error-message i {
    margin-right: 5px;
    font-size: 0.8rem;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.privacy-consent.error {
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.05);
    border-left-color: #dc3545;
}

.privacy-consent input[type="checkbox"].error {
    outline: 2px solid #dc3545;
    outline-offset: 2px;
}

.form-group input.valid,
.form-group textarea.valid {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.privacy-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 0;
    padding: 15px;
    background-color: rgba(93, 26, 107, 0.02);
    border-radius: var(--border-radius);
    border-left: 3px solid rgba(93, 26, 107, 0.1);
}

.privacy-consent input[type="checkbox"] {
    margin: 0;
    flex-shrink: 0;
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.privacy-consent label {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    color: #555;
}

.privacy-consent a {
    color: var(--primary-color);
    text-decoration: underline;
}

.privacy-consent a:hover {
    color: var(--secondary-color);
}

/* Loading state for form */
.btn-primary.loading {
    position: relative;
    color: transparent;
}

.btn-primary.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* --- Accessibility & Print --- */

/* Hide decorative icons from screen readers */
.fas, .fab, .far {
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure sufficient color contrast */
:root {
    --focus-color: #7B2D8E;
    --focus-shadow: rgba(123, 45, 142, 0.3);
}

/* Custom focus outline for better visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.language-switcher:focus-visible {
    outline: 3px solid var(--focus-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 5px var(--focus-shadow);
    border-radius: var(--border-radius);
}

/* Skip to main content link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 9999;
}

.skip-link:focus {
    top: 6px;
}

/* Ensure minimum touch target size (44px) */
.hamburger,
.back-to-top,
.language-switcher {
    min-width: 44px;
    min-height: 44px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .fadeIn {
        animation: none;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: var(--text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #7B2D8E 0%, #9333EA 100%);
    color: var(--text-light);
    transform: translateY(-5px) scale(1.1);
}

/* Print styles */
@media print {
    body {
        font-family: 'Times New Roman', serif;
        color: #000;
        background: #fff;
    }

    header,
    footer,
    .hero-buttons,
    .hamburger,
    .language-switch,
    .contact-form,
    .process-cta,
    .testimonials-cta,
    .service-link,
    .footer-social {
        display: none !important;
    }

    .section, .container {
        padding: 20px 0 !important;
        margin: 0 !important;
    }

    a {
        text-decoration: underline;
        color: #000;
    }

    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }

    .service-card, .testimonial-item, .team-member {
        box-shadow: none;
        border: 1px solid #ccc;
        margin-bottom: 20px;
    }

    .hero {
        background: none;
        padding-top: 0 !important;
    }

    .hero-content {
        color: #000;
    }
}

/* AI & Screen Reader Optimizations */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Enhanced Focus Indicators for Better Accessibility */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .fadeIn {
        animation: none;
        opacity: 1;
    }
}

/* Enhanced Touch Targets for Mobile Accessibility */
@media (max-width: 768px) {
    a, button, input, textarea, select {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-menu a {
        padding: 12px 16px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary, .btn-outline {
        min-height: 44px;
        padding: 12px 24px;
    }
}

/* Print Styles for Better Document Output */
@media print {
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    header,
    .hamburger,
    .back-to-top,
    .hero-buttons,
    .language-switch,
    .footer-social,
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        display: none !important;
    }
    
    .section, .container {
        page-break-inside: avoid;
        margin: 0;
        padding: 20px 0;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .service-card, .testimonial-item, .team-member {
        page-break-inside: avoid;
        border: 1px solid #000;
        margin-bottom: 20px;
    }
    
    .hero {
        background: none;
        color: #000;
    }
    
    .hero-content {
        padding: 20px 0;
    }
    
    /* Add URLs after links in print */
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 10pt;
        color: #666;
    }
    
    /* Don't show URLs for internal links */
    a[href^="#"]:after,
    a[href^="mailto:"]:after,
    a[href^="tel:"]:after {
        content: "";
    }
}

/* Enhanced Loading States */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Improved Error States */
.error-state {
    border: 2px solid #dc3545;
    background-color: #f8d7da;
    color: #721c24;
}

.success-state {
    border: 2px solid #28a745;
    background-color: #d4edda;
    color: #155724;
}

/* Enhanced Keyboard Navigation */
.keyboard-navigation *:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip Links Enhancement */
.skip-links {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    z-index: 10000;
}

.skip-links:focus {
    top: 0;
}

/* Content Visibility Optimization for Performance */
.service-card,
.testimonial-item,
.team-member,
.partner-item {
    content-visibility: auto;
    contain-intrinsic-size: 300px;
}

/* Smooth Scrolling with Reduced Motion Respect */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Enhanced Form Validation Styles - Only manual validation via JavaScript */
/* Removed automatic :valid and :invalid styles to prevent premature validation display */

/* Improved Loading Animation */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.loading-content {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Better Focus Management for Modals/Overlays */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
    position: relative;
}

/* Enhanced Typography for Better Readability */
.readable-text {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 65ch;
    margin: 0 auto;
}

/* Better Color Contrast Ratios */
.high-contrast {
    background: #000;
    color: #fff;
}

.high-contrast a {
    color: #ffff00;
    text-decoration: underline;
}

/* Optimized for AI Content Analysis */
.content-section {
    margin: 2rem 0;
    padding: 1rem 0;
}

.content-section h2,
.content-section h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-section p {
    margin-bottom: 1rem;
}

/* Enhanced List Styling for Better Structure */
.structured-list {
    list-style: none;
    padding: 0;
}

.structured-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.structured-list li:last-child {
    border-bottom: none;
}

/* Better Table Accessibility */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: var(--light-bg);
    font-weight: 600;
}

/* Enhanced Button States */
button:disabled,
.btn-primary:disabled,
.btn-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Better Image Accessibility */
img[alt=""] {
    opacity: 0.8;
}

img:not([alt]) {
    border: 2px solid #ff0000;
}

/* Enhanced Form Accessibility */
.required-field::after {
    content: " *";
    color: #dc3545;
}

.form-help-text {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.25rem;
}

/* Better Error Message Styling */
.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.error-message::before {
    content: none;
}

/* Success Message Styling */
.success-message {
    color: #28a745;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.success-message::before {
    content: "✓ ";
}

/* Enhanced Responsive Images */
.responsive-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--border-radius);
}

/* Better Code Block Styling */
code, pre {
    font-family: 'Courier New', monospace;
    background-color: var(--light-bg);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

pre {
    padding: 1rem;
    overflow-x: auto;
    white-space: pre-wrap;
}

/* Enhanced Blockquote Styling */
blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: #666;
}

/* Better Definition Lists */
dl {
    margin: 1rem 0;
}

dt {
    font-weight: 600;
    margin-top: 1rem;
}

dd {
    margin-left: 1rem;
    margin-bottom: 0.5rem;
}

/* Enhanced Abbreviation Styling */
abbr[title] {
    text-decoration: underline dotted;
    cursor: help;
}

/* Better Mark/Highlight Styling */
mark {
    background-color: #ffff99;
    padding: 0.1em 0.2em;
    border-radius: 2px;
}

/* Enhanced Selection Styling */
::selection {
    background-color: var(--primary-color);
    color: white;
}

::-moz-selection {
    background-color: var(--primary-color);
    color: white;
} 

/* Construction Notice Modal */
.construction-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: none;
}

.construction-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.construction-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.construction-modal-content {
    background: white;
    border-radius: 15px;
    max-width: 500px;
    width: 100%;
    position: relative;
    animation: constructionSlideIn 0.3s ease-out;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.construction-modal-header {
    text-align: center;
    padding: 30px 30px 20px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.construction-icon {
    font-size: 3rem;
    color: #ff9800;
    margin-bottom: 15px;
    animation: constructionBounce 2s infinite;
}

.construction-modal-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.construction-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #999;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.construction-modal-close:hover {
    background: #f5f5f5;
    color: #666;
}

.construction-modal-body {
    padding: 20px 30px;
    text-align: center;
    line-height: 1.6;
}

.construction-modal-body p {
    margin: 0 0 15px 0;
    color: #666;
}

.construction-modal-body p:last-child {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #999;
}

.construction-modal-footer {
    padding: 20px 30px 30px;
    text-align: center;
}

.construction-modal-footer .btn-primary {
    padding: 12px 30px;
    font-size: 1rem;
}

@keyframes constructionSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes constructionBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .construction-modal-content {
        margin: 20px;
        max-width: none;
    }
    
    .construction-modal-header,
    .construction-modal-body,
    .construction-modal-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .construction-icon {
        font-size: 2.5rem;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(93, 26, 107, 0.95) 0%, rgba(123, 45, 142, 0.95) 100%);
    backdrop-filter: blur(10px);
    color: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out, opacity 0.3s ease;
    opacity: 0;
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.cookie-icon {
    font-size: 2rem;
    color: #FFD700;
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
    min-width: 0;
}

.cookie-text h3 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    opacity: 0.9;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-cookie-accept,
.btn-cookie-settings,
.btn-cookie-decline {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
}

.btn-cookie-accept,
.btn-cookie-accept-all {
    background-color: #10B981;
    color: white;
}

.btn-cookie-accept:hover,
.btn-cookie-accept-all:hover {
    background-color: #059669;
    transform: translateY(-1px);
}

.btn-cookie-settings {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-cookie-settings:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-cookie-decline {
    background-color: #EF4444;
    color: white;
}

.btn-cookie-decline:hover {
    background-color: #DC2626;
    transform: translateY(-1px);
}

/* Cookie Modal Styles */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.cookie-modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    margin: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 16px;
    border-bottom: 1px solid #E5E7EB;
}

.cookie-modal-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6B7280;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.cookie-modal-close:hover {
    background-color: #F3F4F6;
    color: var(--primary-color);
}

.cookie-modal-body {
    padding: 24px;
}

.cookie-modal-body > p {
    color: #6B7280;
    margin-bottom: 24px;
    line-height: 1.6;
}

.cookie-category {
    margin-bottom: 24px;
    padding: 20px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    transition: border-color 0.2s ease;
}

.cookie-category:hover {
    border-color: var(--primary-color);
}

.cookie-category-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.cookie-category-header input[type="checkbox"] {
    margin-top: 2px;
    width: 18px;
    height: 18px;
}

.cookie-category-header label {
    flex: 1;
    cursor: pointer;
}

.cookie-category-header h4 {
    margin: 0 0 4px 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.cookie-category p {
    margin: 0 0 0 30px;
    color: #6B7280;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 16px 24px 24px;
    border-top: 1px solid #E5E7EB;
}

.btn-cookie-save,
.btn-cookie-accept-all {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-cookie-save {
    background-color: var(--primary-color);
    color: white;
}

.btn-cookie-save:hover {
    background-color: var(--secondary-color);
    transform: translateY(-1px);
}

/* Responsive Design for Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 16px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .btn-cookie-accept,
    .btn-cookie-settings,
    .btn-cookie-decline {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
    
    .cookie-modal-content {
        margin: 10px;
        max-height: 90vh;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 16px;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
    
    .cookie-category p {
        margin-left: 0;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-cookie-accept,
    .btn-cookie-settings,
    .btn-cookie-decline {
        width: 100%;
    }
}

/* Form Progress Bar */
.form-progress {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Enhanced CTA Button */
.btn-cta {
    position: relative;
    background: linear-gradient(135deg, #5D1A6B 0%, #7B2D8E 50%, #9333EA 100%);
    font-size: 1.1rem;
    padding: 16px 32px;
    font-weight: 700;
    text-transform: none;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta i {
    margin-right: 8px;
}

/* Form Guarantee */
.form-guarantee {
    margin-top: 12px;
    text-align: center;
    font-size: 0.9rem;
    color: #28a745;
    background: #f8fff8;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #d4edda;
}

.form-guarantee i {
    margin-right: 6px;
    color: #28a745;
}

/* Form Input Enhancements */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6c757d;
    opacity: 0.8;
    font-style: italic;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    opacity: 0.5;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Blog Styles */
.blog-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.blog-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

.blog-hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.blog-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.category-tag {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-tag:hover,
.category-tag.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.featured-article {
    padding: 80px 0;
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.featured-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.featured-text .article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.article-meta .category {
    color: var(--primary-color);
    font-weight: 600;
}

.article-meta .reading-time {
    color: #666;
}

.featured-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.author-info {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    color: #666;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-card-content {
    padding: 25px;
}

.blog-card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.blog-card-footer .author {
    color: #666;
    font-size: 0.9rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.read-more:hover {
    color: var(--secondary-color);
}

.newsletter-signup {
    background: var(--light-bg);
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 15px 30px;
    border: none;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--secondary-color);
}

@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    
    .featured-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .blog-categories {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .category-tag {
        white-space: nowrap;
        flex-shrink: 0;
    }
}