/* Base Design System */
:root {
    --caramel: #D4A574;
    --caramel-light: #E9D2B9;
    --caramel-dark: #A67C52;
    --cream: #FDF8F3;
    --cream-dark: #F5E6D3;
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-medium: #666666;
    --section-padding: 100px 0;
    --container-padding: 0 40px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Paw Prints */
body::before,
body::after,
.about-dog-section::before,
.about-breed-section::before,
.about-us-section::before,
.gallery-section::before {
    content: '🐾';
    position: fixed;
    font-size: 110px;
    opacity: 0.05;
    pointer-events: none;
    z-index: -1;
    transform: rotate(-15deg);
}

body::before {
    top: 10%;
    left: 5%;
}

body::after {
    top: 60%;
    right: 5%;
    font-size: 150px;
    transform: rotate(20deg);
}

section {
    position: relative;
    overflow: hidden;
}

section::after {
    content: '🐾';
    position: absolute;
    font-size: 80px;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
    transform: rotate(-15deg);
}

/* Welcome Section - large paw pair */
.welcome-section::after {
    content: '🐾\A      🐾';
    white-space: pre;
    top: 20%;
    left: 8%;
    font-size: 140px;
    transform: rotate(-25deg);
}

/* About Dog - small paws trail */
.about-dog-section::before {
    content: '🐾  🐾  🐾';
    top: 15%;
    right: 12%;
    font-size: 60px;
    transform: rotate(15deg);
}

/* Breed Section - single large paw */
.about-breed-section::before {
    content: '🐾';
    bottom: 10%;
    left: 10%;
    font-size: 120px;
    transform: rotate(-10deg);
}

/* About Us - pair of paws */
.about-us-section::before {
    content: '🐾  🐾';
    top: 40%;
    right: 5%;
    font-size: 100px;
    transform: rotate(30deg);
}

/* Gallery Section - trail of paws */
.gallery-section::after {
    content: '🐾';
    bottom: 15%;
    left: 15%;
    font-size: 90px;
    transform: rotate(-20deg);
}

.gallery-section::before {
    content: '🐾';
    top: 25%;
    right: 10%;
    font-size: 70px;
    transform: rotate(15deg);
}

/* Breeding Section - 2 paws */
.breeding-section::before {
    content: '🐾';
    top: 15%;
    left: 10%;
    bottom: auto;
    font-size: 90px;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
    transform: rotate(-30deg);
}

.breeding-section::after {
    content: '🐾';
    bottom: 15%;
    right: 12%;
    top: auto;
    font-size: 70px;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
    transform: rotate(-15deg);
}

/* Contact Section - 2 paws */
.contact-section::before {
    content: '🐾';
    bottom: 35%;
    right: 22%;
    top: auto;
    font-size: 128px;
    transform: rotate(15deg);
}

.contact-section::after {
    content: '🐾';
    top: 25%;
    left: 18%;
    bottom: auto;
    font-size: 50px;
    transform: rotate(-28deg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    position: relative;
    z-index: 1;
}

/* ===================================
   SECTION REVEAL ANIMATIONS
   =================================== */
section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

section.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   NAVIGATION BAR
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 15px;
    /* Slightly reduced gap to fit all items */
    margin: 0;
    flex: 1;
    justify-content: center;
}

.nav-menu li a {
    white-space: nowrap;
    /* Prevent items from wrapping and overlapping */
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 250px;
    /* Fixed width for symmetry */
    justify-content: flex-end;
}

.language-switcher {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lang-flag {
    display: block;
    width: 28px;
    height: 20px;
    border-radius: 3px;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0.7;
    border: 2px solid transparent;
}

.lang-flag.active {
    opacity: 1;
    border-color: var(--caramel);
    transform: scale(1.1);
}

.lang-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
    white-space: nowrap;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--caramel);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.nav-menu li a.active {
    color: var(--caramel-dark);
}

/* Náš odchov Separator Link */
.nav-separator {
    border-left: 1px solid var(--cream-dark);
    padding-left: 20px !important;
}

.nav-contact a {
    background: var(--caramel);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.nav-contact a:hover {
    background: var(--caramel-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

.nav-contact-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.nav-contact-logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.nav-contact-logo a:hover {
    transform: scale(1.1);
}

.nav-wala-mobile {
    display: none;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    margin-right: -10px;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background: var(--caramel-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-100%);
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Bubble Logo */
.bubble-logo {
    position: fixed;
    top: 65px;
    /* Overlaps navbar by 15px */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 5px rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.bubble-logo img {
    width: 115%;
    height: 115%;
    object-fit: cover;
    border-radius: 50%;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 20001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75vw;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    z-index: 20002;
    display: flex;
    flex-direction: column;
    padding: 30px 30px 60px;
    /* More bottom padding for scroll */
    overflow-y: auto;
    transition: right 0.3s ease-out;
}

.mobile-language-switcher {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--cream-dark);
}

.mobile-language-switcher .lang-flag {
    width: 42px;
    height: 30px;
    opacity: 0.7;
    border-radius: 4px;
    border: 2px solid transparent;
}

.mobile-language-switcher .lang-flag.active {
    opacity: 1;
    border-color: var(--caramel);
    transform: scale(1.1);
}

.mobile-menu.active {
    right: 0 !important;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.mobile-menu .nav-menu {
    display: flex;
    flex-direction: column;
    position: static;
    /* CRITICAL: Reset absolute desktop position */
    transform: none;
    /* CRITICAL: Reset transform */
    left: auto;
    /* CRITICAL: Reset left positioning */
    gap: 0;
    margin-bottom: 40px;
}

.mobile-menu .nav-menu li {
    border-bottom: 1px solid var(--cream-dark);
}

.mobile-menu .nav-menu li a {
    display: block;
    padding: 20px 0;
    font-size: 1.1rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mobile-menu .nav-menu li a:hover,
.mobile-menu .nav-menu li a.active {
    color: var(--caramel-dark);
}

.mobile-menu .nav-menu li a::after {
    display: none;
}

.mobile-menu-footer {
    padding-top: 30px;
    margin-top: 50px;
    /* Force it down */
    /* top border removed */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding-bottom: 20px;
}

.mobile-wala-logo a {
    display: flex;
    justify-content: center;
    transition: transform 0.3s ease;
}

.mobile-wala-logo a:hover {
    transform: scale(1.05);
}

.mobile-wala-logo img {
    height: 55px;
    /* Slightly smaller for better fit */
    width: auto;
    object-fit: contain;
}

.mobile-menu-fb-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #1877F2;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 10px 20px;
    background: rgba(24, 119, 242, 0.05);
    border-radius: 12px;
    width: fit-content;
}

.mobile-menu-fb-link svg {
    width: 24px;
    height: 24px;
}

/* ===================================
   SECTION 1: WELCOME
   =================================== */
.welcome-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cream) 0%, var(--caramel-light) 100%);
    padding-top: 80px;
}

.welcome-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.welcome-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    object-fit: contain;
    display: block;
}

.welcome-text h1 {
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.welcome-breeder-name {
    font-size: 1.8rem;
    color: var(--caramel-dark);
    font-weight: 600;
    margin-bottom: 25px;
    font-family: 'Georgia', serif;
    letter-spacing: 1px;
}

/* Hide redundant elements when mobile menu is open (Global/All breakpoints) */
/* Hide redundant elements when mobile menu is open (Global/All breakpoints) */
body.menu-open .nav-wala-mobile,
body.menu-open .bubble-logo,
body.menu-open .wala-badge-logo,
body.menu-open .floating-language-bubbles-nav,
body:has(.mobile-menu.active) .nav-wala-mobile,
body:has(.mobile-menu.active) .bubble-logo,
body:has(.mobile-menu.active) .wala-badge-logo,
body:has(.mobile-menu.active) .floating-language-bubbles-nav {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Ensure hamburger stays above everything when menu is open */
body.menu-open .hamburger,
body:has(.mobile-menu.active) .hamburger {
    z-index: 20005 !important;
    position: fixed;
    right: 30px;
    /* Adjust as needed */
    top: 25px;
    /* Adjust as needed */
}

.welcome-subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 40px;
    line-height: 1.8;
    font-weight: 600;
}

.contact-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--caramel);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(212, 165, 116, 0.4);
}

.contact-button:hover {
    background: var(--caramel-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.5);
}

/* ===================================
   SECTION 2: ABOUT DOG
   =================================== */
.about-dog-section {
    padding: var(--section-padding);
    background: var(--white);
}

.about-dog-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.dog-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    object-fit: contain;
    display: block;
}

.dog-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card,
.health-card {
    background: var(--cream);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.info-highlight {
    background: linear-gradient(135deg, var(--caramel) 0%, var(--caramel-dark) 100%);
    color: var(--white);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-highlight .label {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

.info-highlight .value {
    font-size: 1.5rem;
    font-weight: 700;
}

.info-row,
.health-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--cream-dark);
}

.info-row:last-child,
.health-row:last-child {
    border-bottom: none;
}

.info-row .label,
.health-row .label {
    font-weight: 600;
    color: var(--text-medium);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.info-row .value,
.health-row .value {
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.flag {
    width: 32px;
    height: 22px;
    object-fit: cover;
    border-radius: 3px;
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.health-card h3 {
    color: var(--caramel-dark);
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

/* CHIC Logo Styling */
.chic-logo-link {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    vertical-align: middle;
}

.chic-logo {
    width: 40px;
    height: 40px;
    display: block;
    image-rendering: auto;
}

/* ===================================
   SECTION 3: WALA MEMBERSHIP
   =================================== */
.wala-section {
    padding: var(--section-padding);
    background: var(--white);
}

.wala-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.wala-logo-link {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.wala-logo-link:hover {
    transform: scale(1.05);
}

.wala-logo {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    display: block;
}

.wala-text {
    width: 100%;
}

.wala-text h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-weight: 700;
}

.wala-text p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.8;
}

.wala-text p strong {
    color: var(--caramel-dark);
    font-weight: 700;
}

/* WALA Badge Logo in Navbar */
.wala-badge-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 250px;
    /* Match nav-right for symmetry */
    height: 100%;
    transition: all 0.3s ease;
}

.wala-badge-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 5px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.wala-badge-logo a:hover {
    transform: scale(1.1);
}

.wala-badge-logo img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: contain;
    display: block;
}

/* WALA Certificate Section */
.wala-certificate-container {
    margin-top: 40px;
    text-align: center;
}

.wala-certificate {
    max-width: 300px;
    width: 100%;
    /* Ensure it respects max-width */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    /* Ensure it stays in flow */
}

.wala-certificate:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.certificate-hint {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-top: 10px;
    font-style: italic;
}

/* Modal for Certificate */
.certificate-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.certificate-modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 5px;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.certificate-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* ===================================
   SECTION 4: ABOUT BREED
   =================================== */
.about-breed-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--cream) 0%, var(--caramel-light) 100%);
}

.breed-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.breed-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    object-fit: contain;
    display: block;
}

.breed-text h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-weight: 700;
}

.breed-text p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* ===================================
   SECTION 4: NÁŠ ODCHOV
   =================================== */
.breeding-section {
    padding: var(--section-padding);
    background: var(--white);
}

.breeding-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    font-weight: 700;
}

.breeding-content p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 25px;
    line-height: 1.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.agata-description {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--cream-dark);
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.agata-description h3 {
    color: var(--text-dark);
    font-size: 2.2rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.agata-description p {
    color: var(--text-medium);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ===================================
   SECTION 5: ZDRAVOTNÍ ZÁRUKA
   =================================== */
.health-warranty-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--cream) 0%, var(--caramel-light) 100%);
}

.health-warranty-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    font-weight: 700;
}

.warranty-content {
    max-width: 900px;
    margin: 0 auto;
}

.warranty-content p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 25px;
    line-height: 1.8;
}

.warranty-list {
    background: var(--white);
    padding: 35px;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.warranty-list h3 {
    color: var(--caramel-dark);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.warranty-list ul {
    list-style: none;
    padding: 0;
}

.warranty-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.6;
}

.warranty-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--caramel);
    font-weight: 700;
    font-size: 1.3rem;
}

/* ===================================
   SECTION 5: ABOUT US
   =================================== */
.about-us-section {
    padding: 100px 0;
    background: var(--cream);
    text-align: center;
}

.about-us-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--caramel-dark);
}

.about-us-content .subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 60px;
    color: var(--text-medium);
    font-family: 'Georgia', serif;
}

.about-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-us-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.about-us-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.2);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.about-us-card h3 {
    font-size: 1.5rem;
    color: var(--caramel-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.about-us-card p {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.8;
}

/* ===================================
   SECTION 6: GALLERY CAROUSEL
   =================================== */
.gallery-section {
    padding: var(--section-padding);
    background: var(--cream);
}

.gallery-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 50px;
    font-weight: 700;
}

.carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 600px;
    object-fit: contain;
    display: block;
    background: var(--cream);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--caramel-dark);
    font-size: 2rem;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    border-radius: 5px;
}

.carousel-btn:hover {
    background: var(--white);
    color: var(--caramel);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-dots {
    text-align: center;
    margin-top: 30px;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: var(--cream-dark);
    border-radius: 50%;
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: var(--caramel);
    transform: scale(1.3);
}

/* ===================================
   SECTION 7: CONTACT FORM
   =================================== */
.contact-section {
    padding: var(--section-padding);
    background: var(--white);
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 50px;
    font-weight: 700;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--cream);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--cream-dark);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--caramel);
    background: var(--white);
}

.phone-input-wrapper {
    display: flex;
    gap: 10px;
}

.country-code-select {
    width: 120px;
    padding: 10px;
    border: 2px solid var(--cream-dark);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
}

.captcha-group {
    display: flex;
    justify-content: center;
}

.submit-button {
    width: 100%;
    padding: 18px;
    background: var(--caramel);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(212, 165, 116, 0.3);
}

.submit-button:hover {
    background: var(--caramel-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 165, 116, 0.4);
}

.phone-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
    font-size: 1.2rem;
    color: var(--caramel-dark);
}

.phone-contact .phone-text {
    margin: 0;
}

.phone-contact a {
    color: inherit;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
    margin: 0;
    /* Remove default margins */
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    padding: 40px 0;
    background: var(--white);
    text-align: center;
    border-top: 1px solid var(--cream-dark);
}

.footer p {
    color: var(--text-medium);
    font-size: 0.9rem;
}

/* ===================================
   SOCIAL ICONS
   =================================== */
.fb-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #1877F2;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(24, 119, 242, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

.fb-icon svg {
    width: 30px;
    height: 30px;
}

.fb-icon:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 30px rgba(24, 119, 242, 0.5);
}

.mobile-menu-fb-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    padding: 15px;
    background: #f0f2f5;
    border-radius: 12px;
    text-decoration: none;
    color: #1877F2;
    font-weight: 700;
    transition: all 0.3s ease;
}

.mobile-menu-fb-link svg {
    width: 24px;
    height: 24px;
}

.mobile-menu-fb-link:hover {
    background: #e4e6e9;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 15px;
    }

    .nav-menu li a {
        font-size: 0.9rem;
    }

    .welcome-text h1 {
        font-size: 3rem;
    }
}

@media (max-width: 1350px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

@media (max-width: 1200px) {
    .nav-container {
        padding: 0 20px;
    }
}

@media (max-width: 1024px) {

    .hamburger {
        display: flex;
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
    }

    .language-switcher {
        display: none;
    }

    /* Hide DESKTOP WALA badge on mobile (on the left) */
    .wala-badge-logo {
        display: none !important;
    }

    /* Hide Kontakt button in navbar on mobile */
    .nav-contact {
        display: none !important;
    }

    /* Show mobile WALA badge in navbar (on the right) */
    .nav-wala-mobile {
        display: block !important;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-wala-mobile:hover {
        transform: scale(1.1);
    }

    .nav-wala-mobile img {
        height: 38px;
        width: auto;
        object-fit: contain;
    }

    .welcome-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .welcome-image {
        max-width: 600px;
        margin: 0 auto;
    }

    .about-dog-content,
    .breed-content,
    .wala-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .breed-content .breed-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
        --container-padding: 0 20px;
    }

    .nav-container {
        padding: 0 20px;
        height: 70px;
    }

    .nav-logo {
        font-size: 1.4rem;
    }

    .bubble-logo {
        width: 70px;
        height: 70px;
        top: 55px;
    }

    .welcome-text h1 {
        font-size: 2.2rem;
    }

    .welcome-breeder-name {
        font-size: 1.4rem;
    }

    .about-us-content h2,
    .gallery-section h2,
    .contact-section h2 {
        font-size: 2rem;
    }

    .carousel-slide img {
        height: 400px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .fb-icon {
        display: none !important;
    }

    /* Fixed Language Bubbles in bottom-center for Mobile */
    .floating-language-bubbles-nav {
        display: flex !important;
        position: fixed;
        bottom: 25px;
        left: 50%;
        transform: translateX(-50%);
        /* Perfectly centered */
        flex-direction: row;
        align-items: center;
        gap: 15px;
        z-index: 9999;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        padding: 10px 20px;
        /* Wider padding for better balance */
        border-radius: 50px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 1);
        width: max-content;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .lang-bubble {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        overflow: hidden;
        border: 2px solid white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        opacity: 0.7;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .lang-bubble.active {
        opacity: 1;
        transform: scale(1.1);
        border-color: var(--caramel);
    }

    .lang-bubble img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .lang-bubble.fb-bubble {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #1877F2;
        border-color: #1877F2;
        color: white;
    }

    .lang-bubble.fb-bubble svg {
        width: 22px;
        height: 22px;
    }

    /* Hide standard switcher in navbar on mobile */
    .nav-right .language-switcher {
        display: none;
    }
}

.floating-language-bubbles-nav {
    display: none;
}

/* ===================================
   SUBPAGES STYLING (Odchov & Záruka)
   =================================== */
.subpage-section {
    padding-top: 160px;
    padding-bottom: 100px;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--cream) 0%, var(--caramel-light) 90%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.subpage-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    z-index: 2;
}

.content-card-main {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border-radius: 30px;
    padding: 60px 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    text-align: center;
}

/* Header Badge */
.status-badge {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, var(--caramel-dark) 0%, var(--caramel) 100%);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(212, 165, 116, 0.3);
}

.subpage-title {
    color: #5d4037;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
}

.subpage-text {
    font-size: 1.25rem;
    color: #4e342e;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Warranty Specific Items */
.warranty-item {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 20px;
    text-align: left;
    display: flex;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.warranty-item:hover {
    transform: translateY(-5px);
}

.warranty-number {
    background: var(--caramel);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
}

.warranty-category {
    margin: 60px 0 30px;
    font-size: 1.8rem;
    color: var(--caramel-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

@media (max-width: 768px) {
    .subpage-section {
        padding-top: 120px;
        padding-bottom: 120px;
    }

    .content-card-main {
        padding: 40px 25px;
    }

    .subpage-title {
        font-size: 2.2rem;
    }

    .subpage-text {
        font-size: 1.1rem;
    }
}

/* ===================================
   FAMILY TREE SECTION (Náš odchov)
   =================================== */
.subpage-section-top {
    padding-top: 120px;
    align-items: flex-start;
}

.family-tree-section {
    margin-top: 60px;
}

.family-tree-title {
    color: #5d4037;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.family-tree-title::after {
    content: '🐾';
    font-size: 1.5rem;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.5;
}

.family-tree-parents {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.family-tree-parent {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border-radius: 30px;
    padding: 40px 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.family-tree-parent:hover {
    transform: translateY(-10px);
}

.family-tree-image {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 25px;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.family-tree-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.family-tree-parent:hover .family-tree-image img {
    transform: scale(1.1);
}

.family-tree-name {
    color: var(--caramel-dark);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    font-family: 'Georgia', serif;
}

.family-tree-info {
    width: 100%;
    background: var(--cream);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(212, 165, 116, 0.2);
}

.info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.family-tree-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--caramel);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(212, 165, 116, 0.4);
    text-align: center;
    margin-top: auto;
}

.family-tree-button:hover {
    background: var(--caramel-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.5);
}

/* Connective Line (Desktop) */
@media (min-width: 901px) {
    .family-tree-section {
        position: relative;
    }

    /* Heart removed as per request */
}

/* Specific Image Adjustments */
.img-maminka img {
    transform: scale(1.35) translateY(-10px);
}

.family-tree-parent:hover .img-maminka img {
    transform: scale(1.45) translateY(-10px);
}

.img-tatinek img {
    object-position: center 15%;
    /* Moves content down to show face at top */
    transform: scale(1.1);
    /* Zoom slightly to ensure coverage */
}

.family-tree-parent:hover .img-tatinek img {
    transform: scale(1.2);
}

/* ===================================
   NEWS FEED SECTION
   =================================== */
.news-feed-section {
    margin-top: 60px;
}

.news-feed-title {
    color: #5d4037;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.news-feed-title::after {
    content: '📰';
    font-size: 1.3rem;
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.5;
}

/* Individual News Article */
.news-article {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 40px 35px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-left: 5px solid var(--caramel);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-article:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.news-article-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.news-date {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--caramel-light) 0%, var(--cream-dark) 100%);
    color: var(--caramel-dark);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.news-article-title {
    color: #5d4037;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.3;
}

.news-article-text {
    font-size: 1.1rem;
    color: #4e342e;
    line-height: 1.8;
    margin-bottom: 28px;
}

/* News Gallery */
.news-gallery {
    margin-top: 10px;
}

.news-gallery-title {
    color: var(--caramel-dark);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

/* ===================================
   PUPPY CAROUSEL (within news article)
   =================================== */
.puppy-carousel {
    position: relative;
    max-width: 100%;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    background: var(--cream);
}

.puppy-carousel-track {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
}

.puppy-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    z-index: 1;
}

.puppy-carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.puppy-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: var(--cream);
}

/* Carousel Navigation Arrows */
.puppy-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: none;
    color: var(--caramel-dark);
    font-size: 1.4rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

.puppy-carousel-btn:hover {
    background: var(--white);
    color: var(--caramel);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
}

.puppy-carousel-btn.prev {
    left: 14px;
}

.puppy-carousel-btn.next {
    right: 14px;
}

/* Carousel Dots */
.puppy-carousel-dots {
    text-align: center;
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.5);
}

.puppy-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--cream-dark);
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.puppy-dot.active,
.puppy-dot:hover {
    background: var(--caramel);
    transform: scale(1.3);
}

/* Responsive */
@media (max-width: 768px) {
    .news-feed-title {
        font-size: 1.8rem;
    }

    .news-article {
        padding: 28px 20px;
        border-radius: 18px;
    }

    .news-article-title {
        font-size: 1.3rem;
    }

    .news-article-text {
        font-size: 1rem;
    }

    .puppy-carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .puppy-carousel-btn.prev {
        left: 8px;
    }

    .puppy-carousel-btn.next {
        right: 8px;
    }

    .subpage-section-top {
        padding-top: 100px;
    }

    .parent-dog-title {
        font-size: 1.6rem;
    }

    .parent-dogs-section {
        margin-top: 40px;
        gap: 30px;
    }

    .agata-description h3 {
        font-size: 1.4rem;
    }

    .agata-description p {
        font-size: 1rem;
    }
}