@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Montserrat:wght@700;800&display=swap');

:root {
    --primary: #2c3e50;
    --accent: #00897b;
    --accent-light: #4ebaaa;
    --text: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.95);
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.06);

    /* Harmonized Service Colors (Earth & Sky) */
    --color-hlava: #2980B9;
    /* Strong Blue - Logic/Mind */
    --color-telo: #943126;
    /* Deep Terracotta - Earth/Body */
    --color-predstavivost: #8E44AD;
    /* Deep Purple - Imagination */
    --color-akce: #D35400;
    /* Deep Orange - Energy */
    --color-akce-text: #C05621;
    /* Unified */
    --color-kariera: #004D40;
    /* Dark Teal - Career (Matches Hero Top-Left) */

    --bg-petrol-mist: #E0F2F1;
    /* Light Petrol Background */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: linear-gradient(to bottom, #ffffff 0%, var(--bg-petrol-mist) 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

h1,
h2,
h3 {
    font-family: 'Montserrat', sans-serif;
}

/* Navigation */
nav {
    background: var(--white);
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(10px);
    background: var(--bg-petrol-mist);
    /* Petrol background as requested */
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-petrol-mist);
    /* Petrol background */
    min-width: 220px;
    /* Petrol background */
    min-width: 220px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 16px;
    padding: 1rem 0;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column;
    margin-top: 15px;
    /* Gap for hover path */
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Bridge to keep hover active */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}

.dropdown-content a {
    color: var(--primary);
    padding: 12px 24px;
    text-decoration: none;
    display: block !important;
    font-weight: 700;
    font-size: 0.95rem;
    border-bottom: none;
    text-align: center;
    /* Centered text for clean look */
    transition: background 0.2s, transform 0.2s;
}

.dropdown-content a:hover {
    background-color: var(--bg-light);
    transform: scale(1.05);
    /* Subtle pop */
}

.dropdown:hover .dropdown-content {
    display: flex;
}

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 0 5%;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 30%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    /* Better readability on new image */
}

/* Specialized Page Hero */
.page-hero {
    padding: 4rem 5%;
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.page-hero h1 .category {
    font-size: clamp(1.8rem, 8vw, 3rem);
    /* Fluid scaling */
    letter-spacing: 3px;
    font-weight: 800;
    display: block;
    overflow-wrap: break-word;
    max-width: 100%;
}

.page-hero h1 .service-name {
    font-size: 1.8rem;
    font-weight: 600;
    display: block;
    margin-top: 0.5rem;
}

/* Containers */
.container {
    max-width: 1200px;
    margin: 6rem auto;
    /* Increased top/bottom margin */
    padding: 0 2rem;
}

/* Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    /* More space */
}

/* Specific override for Services to fit 4 in a row AND center orphans */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.services-grid>a {
    flex: 1 1 240px;
    max-width: 350px;
}

@media (min-width: 1200px) {
    .services-grid {
        gap: 2rem;
    }
}

.card {
    background: var(--white);
    padding: 3rem 2rem;
    /* More internal padding */
    border-radius: 24px;
    /* Rounder corners */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    /* Softer shadow */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

/* Service Card Themes - Colored Borders */
.card-hlava {
    border: 2px solid var(--color-hlava);
    box-shadow: 0 10px 30px rgba(0, 105, 92, 0.1);
    /* Subtle colored shadow */
}

.card-hlava h3 {
    color: var(--color-hlava);
}

.card-telo {
    border: 2px solid var(--color-telo);
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.1);
}

.card-telo h3 {
    color: var(--color-telo);
}

.card-predstavivost {
    border: 2px solid var(--color-predstavivost);
    box-shadow: 0 10px 30px rgba(155, 89, 182, 0.1);
}

.card-predstavivost h3 {
    color: var(--color-predstavivost);
}

.card-akce {
    border: 2px solid var(--color-akce);
    box-shadow: 0 10px 30px rgba(241, 196, 15, 0.1);
}

.card-akce h3 {
    color: var(--color-akce-text);
}

.card-kariera {
    border: 2px solid var(--color-kariera);
    box-shadow: 0 10px 30px rgba(12, 45, 72, 0.1);
}

.card-kariera h3 {
    color: var(--color-kariera);
}

/* Testimonials */
.testimonial-card {
    background: var(--white);
    padding: 1.4rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.testimonial-text {
    font-size: 0.9rem;
    /* Reduced as per previous feedback */
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.testimonial-author {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn:hover {
    background: var(--accent-light);
}

footer {
    padding: 3rem 5%;
    background: var(--primary);
    color: var(--white);
    text-align: center;
    font-size: 0.9rem;
}

/* =========================================
   Mobile Navigation (Responsive)
   ========================================= */
.menu-checkbox {
    display: none !important;
}

.menu-icon {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--primary);
    user-select: none;
}

@media (max-width: 960px) {
    nav {
        flex-wrap: wrap;
        /* Allow wrapping */
    }

    .menu-icon {
        display: block;
        /* Show hamburger on mobile */
        margin-left: auto;
        /* Push to right */
    }

    nav ul {
        display: none;
        /* Hide menu by default */
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding-top: 1rem;
        gap: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        margin-top: 1rem;
    }

    /* Show menu when checkbox is checked */
    .menu-checkbox:checked~ul {
        display: flex;
    }

    /* Mobile Dropdown adjustment */
    .dropdown-content {
        position: static;
        box-shadow: none;
        background: transparent;
        transform: none;
        min-width: 100%;
        padding: 0;
        margin-top: 0.5rem;
        border: none;
        display: none;
        /* Default hidden */
    }

    /* Make dropdown appear on hover/tap of parent on mobile too */
    .dropdown:hover .dropdown-content {
        display: flex;
        position: relative;
        left: 0;
        top: 0;
    }

    .dropdown-content a {
        padding: 10px;
        background: rgba(0, 0, 0, 0.02);
    }

    /* Adjust margins for content below nav */
    .hero,
    .page-hero {
        margin-top: 0;
    }

    /* Adjust grid columns for mobile */
    .grid {
        grid-template-columns: 1fr;
    }

    .page-hero h1 .category {
        letter-spacing: 1px;
    }

    .page-hero h1 .service-name {
        font-size: 1.4rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
}/ *   A b o u t   P a g e   L a y o u t   * /  
 . a b o u t - g r i d   {  
         d i s p l a y :   g r i d ;  
         g r i d - t e m p l a t e - c o l u m n s :   1 f r ;  
         g a p :   2 r e m ;  
 }  
  
 @ m e d i a   ( m i n - w i d t h :   7 6 8 p x )   {  
         . a b o u t - g r i d   {  
                 g r i d - t e m p l a t e - c o l u m n s :   2 f r   1 f r ;  
                 g a p :   4 r e m ;  
         }  
 }  
 