/* --- Google Fonts loaded via optimized preload in HTML head --- */

/* --- General Body & Background Styles --- */
body {
    font-family: 'Poppins', sans-serif;
    background: url('images/desk2.webp') center center fixed;
    background-size: cover;
    background-repeat: no-repeat;
    color: #2c2c2c;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* --- Header Styles --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 2rem;
}

.logo-section {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.logo-section img {
    margin-right: 0.5rem;
}

.logo-text {
    font-family: 'Gochi Hand', cursive;
    font-size: 1.8rem;
    margin: 0;
    color: #ff9500;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-image-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffeb3b, #ff9500);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    box-shadow: 0 2px 8px rgba(255, 149, 0, 0.3);
}

.nav-image-button:hover {
    background: linear-gradient(135deg, #9c27b0, #673ab7);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.4);
}

.nav-image-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Header Improvements */
@media (max-width: 768px) {
    .header-container {
        padding: 0 0.5rem;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .logo-section {
        order: 1;
        margin-bottom: 0.5rem;
    }
    
    .main-navigation {
        gap: 0.2rem;
        order: 2;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-image-button {
        padding: 0.25rem;
        min-width: 36px;
        min-height: 36px;
    }
    
    .nav-image-icon {
        width: 28px;
        height: 28px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .mobile-menu-toggle {
        display: none; /* Hide since we show all icons */
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .header-container {
        padding: 0 0.25rem;
        gap: 0.5rem;
    }
    
    .main-navigation {
        gap: 0.15rem;
    }
    
    .nav-image-button {
        padding: 0.2rem;
        min-width: 32px;
        min-height: 32px;
    }
    
    .nav-image-icon {
        width: 24px;
        height: 24px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
}

/* Magazine Style Layout */
.main-layout {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: auto auto auto auto auto;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    min-height: 100vh;
    position: relative;
    grid-template-areas: 
        "hero hero hero"
        "left center right"
        "full full full"
        "content content content"
        "footer footer footer";
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        font-size: 16px;
    }
    
    /* Enhanced Mobile Header */
    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    }
    
    .header-container {
        padding: 0.5rem 1rem !important;
        background: transparent !important;
    }
    
    .logo-section {
        margin-left: 0 !important;
        gap: 0.3rem;
    }
    
    .logo-section img {
        width: 35px !important;
        height: 35px !important;
    }
    
    .logo-text {
        font-size: 1.2rem !important;
    }
    
    .main-navigation {
        gap: 1.5rem !important;
    }
    
    .nav-image-icon {
        width: 35px !important;
        height: 35px !important;
    }
    
    /* Enhanced Touch Targets */
    .nav-image-button {
        padding: 8px;
        border-radius: 8px;
        transition: all 0.2s ease;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-image-button:hover,
    .nav-image-button:active {
        background-color: rgba(255, 149, 0, 0.1);
        transform: scale(1.05);
    }
    
    .main-layout {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "hero"
            "center"
            "left"
            "right"
            "full"
            "content"
            "footer";
        gap: 1rem;
        padding: 0.5rem;
        max-width: 100vw;
        width: 100%;
        margin: 0;
    }
    
    .content-block.left,
    .content-block.center,
    .content-block.right,
    .content-block.full {
        grid-column: 1;
        margin: 0;
        padding: 1rem;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        text-align: center;
        line-height: 1.1;
        padding: 1rem 0.5rem;
        word-break: break-word;
    }
    
    .hero-section {
        padding: 2rem 1rem;
        min-height: auto;
        text-align: center;
    }
    
    /* Enhanced Mobile Form Optimization */
    form {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
        padding: 1rem;
        box-sizing: border-box;
    }
    
    form input, form select {
        width: 100% !important;
        max-width: 100% !important;
        padding: 1rem !important;
        font-size: 16px !important; /* Prevents zoom on iOS */
        border-radius: 12px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        border: 2px solid #e0e0e0 !important;
        background: #fafafa !important;
        transition: all 0.2s ease !important;
    }
    
    form input:focus, form select:focus {
        border-color: #ff9500 !important;
        background: white !important;
        outline: none !important;
        box-shadow: 0 0 0 3px rgba(255, 149, 0, 0.1) !important;
    }
    
    form button {
        padding: 1.2rem !important;
        font-size: 1.1rem !important;
        font-weight: 600;
        margin-top: 1rem !important;
        background: linear-gradient(135deg, #ff9500, #ff7b00) !important;
        color: white !important;
        border: none !important;
        border-radius: 12px !important;
        cursor: pointer;
        min-height: 50px !important;
        transition: all 0.2s ease !important;
        box-shadow: 0 4px 15px rgba(255, 149, 0, 0.3) !important;
    }
    
    form button:active {
        transform: translateY(1px) !important;
        box-shadow: 0 2px 8px rgba(255, 149, 0, 0.4) !important;
    }
    
    form label {
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        display: block;
    }
    
    /* Enhanced Mobile Content Layout */
    .content-block h2 {
        font-size: 1.4rem !important;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .content-block h3 {
        font-size: 1.1rem !important;
        margin: 1rem 0 0.5rem 0;
    }
    
    .content-block p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .big-text {
        font-size: 1.8rem !important;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    /* Mobile Clock Optimization */
    .clock-container {
        flex-direction: column;
        gap: 2rem;
        padding: 1rem 0;
    }
    
    .clock {
        width: 180px !important;
        height: 180px !important;
        margin: 0 auto;
    }
    
    .clock-face {
        width: 200px !important;
        height: 200px !important;
    }
    
    .analog-clock {
        width: 150px !important;
        height: 150px !important;
    }
    
    /* Mobile Navigation - Only 2 icons, transparent header */
    .site-header {
        background: transparent !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
        padding: 1rem;
    }
    
    .header-container {
        background: transparent !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo-section {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-left: -1cm;
    }
    
    .main-navigation {
        display: flex;
        gap: 2rem;
        justify-content: flex-end;
    }
    
    .nav-image-button {
        display: inline-block;
    }
    
    .nav-image-icon {
        width: 40px;
        height: 40px;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    /* Mobile Typography */
    .big-text {
        font-size: 1.5rem !important;
        line-height: 1.3;
        text-align: center;
        word-break: break-word;
        margin-bottom: 1rem;
    }
    
    .content-block p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1rem;
        text-align: left;
    }
    
    .content-block h3 {
        font-size: 1.3rem !important;
        text-align: center;
        margin-bottom: 1rem;
        word-break: break-word;
    }
    
    .script-text {
        font-size: 1.2rem !important;
        text-align: center;
        margin: 1rem 0;
    }
    
    /* Mobile Hero Image */
    .hero-image {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        text-align: center;
        margin: 1rem auto;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .hero-product-image {
        max-width: 200px !important;
        max-height: 250px !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain;
    }
    
    /* Mobile Bottom Image */
    .bottom-design-image {
        max-height: 250px;
    }
}

/* Tablet Responsiveness */
@media (max-width: 1024px) and (min-width: 769px) {
    .main-layout {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: 
            "hero hero"
            "center center"
            "left right"
            "full full"
            "content content"

            "footer footer";
        gap: 1.5rem;
        padding: 1rem;
    }
    
    .content-block {
        padding: 1.5rem;
    }
    
    form input, form select, form button {
        padding: 1rem !important;
        font-size: 1rem !important;
    }
    /* Mobile Dog Name Generator Optimizations */
    .generator-section {
        padding: 1rem !important;
        margin-top: 1rem !important;
        border-radius: 8px !important;
    }
    
    .name-display {
        font-size: 2rem !important;
        padding: 1rem !important;
        min-height: 50px !important;
        word-break: break-word;
    }
    
    .filter-buttons {
        gap: 0.5rem !important;
        flex-wrap: wrap;
    }
    
    .filter-buttons button {
        padding: 0.8rem 1rem !important;
        font-size: 0.9rem !important;
        min-height: 44px !important;
        border-radius: 8px !important;
        flex: 1 1 calc(50% - 0.25rem);
        min-width: 120px;
    }
    
    .add-name-btn {
        padding: 0.8rem 1rem !important;
        font-size: 0.9rem !important;
        min-height: 44px !important;
        border-radius: 8px !important;
        margin-top: 1rem !important;
    }
    
    .user-inputs input {
        padding: 1rem !important;
        font-size: 16px !important;
        border-radius: 8px !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* Mobile Image Optimization */
    .column-bottom-image,
    img[style*="max-width: 220px"] {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 8px !important;
        margin: 1rem 0 !important;
    }
    
    /* Mobile Card Display */
    #card-display img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 8px !important;
    }
    
    /* Mobile Chart Optimization */
    .chart-container {
        padding: 0.5rem !important;
        margin: 1rem 0 !important;
    }
    
    .chart-container canvas {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .main-layout {
        padding: 0.3rem;
        gap: 0.8rem;
    }
    
    .content-block {
        padding: 0.8rem !important;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 5vw, 2rem) !important;
        line-height: 1.1;
    }
    
    .logo-text {
        font-size: 1rem !important;
    }
    
    .nav-image-icon {
        width: 30px !important;
        height: 30px !important;
    }
    
    .nav-image-button {
        padding: 6px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }
    
    .name-display {
        font-size: 1.8rem !important;
        padding: 0.8rem !important;
        min-height: 40px !important;
    }
    
    .filter-buttons button {
        flex: 1 1 100% !important;
        margin-bottom: 0.5rem;
        min-width: auto !important;
    }
    
    .content-block h2 {
        font-size: 1.2rem !important;
    }
    
    .content-block h3 {
        font-size: 1rem !important;
    }
    
    .content-block p {
        font-size: 0.9rem !important;
    }
    
    .content-block {
        padding: 1rem;
        margin: 0;
    }
    
    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
        padding: 1rem;
    }
    
    form input, form select, form button {
        padding: 0.8rem !important;
        font-size: 1rem !important;
    }
    
    .clock {
        width: 150px !important;
        height: 150px !important;
    }
    
    .clock-face {
        width: 150px !important;
        height: 150px !important;
    }
    
    .big-text {
        font-size: 1.5rem !important;
    }
    
    .site-header {
        padding: 0.5rem;
    }
    
    .logo-text {
        font-size: 1.5rem !important;
    }
}

/* Hero Section - Large Typography */
.hero-section {
    grid-area: hero;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #ffd32a 0%, #ff9500 100%);
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    color: #2c2c2c;
    text-transform: uppercase;
    margin: 0;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 300;
    color: #2c2c2c;
    margin: 1rem 0;
    font-style: italic;
}

/* Content Blocks */
.content-block {
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    position: relative;
    border: none;
    box-shadow: none;
}

.content-block.left {
    grid-area: left;
    background: #f7f3e9;
}

.content-block.center {
    grid-area: center;
    background: white;
}

.content-block.right {
    grid-area: right;
    background: #fff8e7;
}

.content-block.full {
    grid-area: full;
    background: white;
}

/* Typography Styles */
.big-text {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 0.9;
    color: #2c2c2c;
    text-transform: uppercase;
    margin: 0 0 1rem 0;
}

.medium-text {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 600;
    color: #2c2c2c;
    margin: 0 0 1rem 0;
}

.accent-text {
    color: #ff9500;
    font-weight: 900;
}

.script-text {
    font-family: 'Gochi Hand', cursive;
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: #2c2c2c;
    transform: rotate(-5deg);
    display: inline-block;
    position: absolute;
    bottom: 2rem;
    right: 2rem;
}

/* Hero Image Styling */
.hero-image {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    z-index: 3;
}

.hero-product-image {
    max-width: 450px;
    max-height: 500px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-product-image:hover {
    transform: scale(1.15) rotate(8deg);
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

/* Hero image mobile styles moved to main mobile section */

/* Bottom Image Section - Force Overlapping */
.bottom-image-section {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    z-index: 999;
    pointer-events: none;
}

.bottom-design-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 400px;
}

/* Footer styling */
.site-footer {
    position: relative;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Bottom image mobile styles moved to main mobile section */


/* Creative Form Styling */
form {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

form label {
    font-family: 'Gochi Hand', cursive;
    font-weight: 400;
    color: #2c2c2c;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    display: block;
    transform: rotate(-2deg);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

form input, form select {
    width: 100%;
    padding: 2rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.2rem;
    font-family: 'Poppins', sans-serif;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 3px solid transparent;
    font-weight: 500;
}

form input:focus, form select:focus {
    outline: none;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255,149,0,0.3);
    border-color: #ff9500;
    background: rgba(255,255,255,0.95);
}

form input::placeholder {
    color: rgba(44,44,44,0.5);
    font-style: italic;
}

form button, button {
    background: linear-gradient(135deg, #ff9500 0%, #ffd32a 100%);
    color: #2c2c2c;
    border: none;
    padding: 1.5rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Gochi Hand', cursive;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(255,149,0,0.3);
    transform: rotate(-1deg);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

form button:hover, button:hover {
    transform: translateY(-3px) rotate(1deg) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 149, 0, 0.4);
    background: linear-gradient(135deg, #ffd32a 0%, #ff9500 100%);
}

/* Legacy support for existing sections */
.left-section, .right-section {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.center-gap {
    display: none; /* Hide center gap in masonry layout */
    background: transparent;
    position: relative;
    z-index: 0;
}

.right-section {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2em 3em;
    border-radius: 0 24px 24px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    z-index: 1;
}

/* --- Legacy Container for Compatibility --- */
.container {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2em 3em;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 2em auto;
    text-align: center;
    position: relative; 
    z-index: 1;
}

/* --- Modern Header --- */
.site-header {
    background: transparent !important;
    box-shadow: none !important;
    position: relative;
    top: 0;
    z-index: 1000;
    padding: 0;
    width: 100%;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    margin-left: -1cm;
}

.logo-section img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(255,255,255,0.2);
}

.logo-text {
    color: white;
    font-family: 'Gochi Hand', cursive;
    font-size: 1.8em;
    font-weight: 400;
    margin: 0;
}

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

.paw-icon {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
}

.paw-button:hover .paw-icon {
    transform: scale(1.2) rotate(10deg);
}

.main-navigation {
    display: flex;
    gap: 2rem;
    align-items: center;
}

/* New Image Button Styles */
.nav-image-button {
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-image-icon {
    width: 60px;
    height: 60px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-image-button:hover .nav-image-icon {
    transform: scale(1.2) rotate(10deg);
    filter: brightness(1.2);
}

.nav-image-button::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.nav-image-button:hover::after {
    opacity: 1;
    bottom: -30px;
}

.nav-link {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: white;
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    color: white;
    background: rgba(255,255,255,0.2);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Simple Normal Footer --- */
.site-footer {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: #2c2c2c;
    padding: 2rem 0;
    margin-top: 4rem;
    width: 100%;
    position: relative;
    z-index: 1000;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.footer-brand h3 {
    color: #2c2c2c;
    font-family: 'Gochi Hand', cursive;
    margin: 0;
    font-size: 1.2em;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: rgba(44,44,44,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9em;
}

.footer-links a:hover {
    color: #2c2c2c;
}

.footer-contact {
    margin: 1.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(44,44,44,0.1);
    border-bottom: 1px solid rgba(44,44,44,0.1);
    padding: 1.5rem 0;
}

.contact-info {
    margin-bottom: 1rem;
}

.contact-info p {
    margin: 0;
    color: rgba(44,44,44,0.8);
    font-size: 0.9em;
}

.contact-info a {
    color: #6c5ce7;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    color: #5848d3;
    text-decoration: underline;
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link.instagram {
    color: #E4405F;
    background: rgba(228, 64, 95, 0.1);
}

.social-link.instagram:hover {
    background: #E4405F;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(228, 64, 95, 0.3);
}

.social-link.twitter {
    color: #1DA1F2;
    background: rgba(29, 161, 242, 0.1);
}

.social-link.twitter:hover {
    background: #1DA1F2;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(29, 161, 242, 0.3);
}

.social-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(44,44,44,0.2);
    padding-top: 1rem;
    text-align: center;
    color: rgba(44,44,44,0.7);
    font-size: 0.85em;
}

/* --- Header Styles - Desktop transparent with 2 icons only --- */
.site-header {
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    padding: 1rem;
}

.header-container {
    background: transparent !important;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: -1cm;
}

.logo-section img {
    width: 50px;
    height: 50px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c2c2c;
}

.main-navigation {
    display: flex;
    gap: 3rem;
    justify-content: center;
}

.nav-image-button {
    display: inline-block;
    transition: transform 0.3s ease;
}

.nav-image-button:hover {
    transform: scale(1.1);
}

.nav-image-icon {
    width: 45px;
    height: 45px;
}

.mobile-menu-toggle {
    display: none;
}

.footer-content {
    flex-direction: column;
    gap: 1rem;
}

.footer-links {
    gap: 1rem;
}

.footer-container {
    padding: 0 1rem;
}

/* --- Typography --- */
h1, h2, h3 { font-family: 'Gochi Hand', cursive; color: #343a40; font-weight: 400; }
h1 { font-size: 2.8em; margin-bottom: 0.5em; line-height: 1.2; }
h2 { font-size: 1.8em; border: none; padding-bottom: 0; display: inline-block; }

/* --- Section Title with Icon --- */
.section-title { display: flex; align-items: center; justify-content: center; gap: 15px; margin-top: 2em; padding-bottom: 0.5em; border-bottom: 3px solid #74b9ff; }
.section-title img { width: 35px; height: 35px; }
.section-title h2 { margin: 0; border: none; }

/* --- Form Styles --- */
form { margin-top: 1.5em; text-align: left; }
label { font-weight: bold; display: block; margin-bottom: 0.5em; }
input, select { padding: 12px; margin-bottom: 1.5em; border-radius: 8px; border: 1px solid #ced4da; width: 100%; box-sizing: border-box; font-size: 1em; }
button { background-color: #6c5ce7; color: white; font-weight: bold; border: none; cursor: pointer; padding: 15px 30px; font-size: 1.1em; border-radius: 50px; transition: all 0.3s ease; width: 100%; }
button:hover { background-color: #5848d3; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0,0,0,0.1); }

/* --- Dog Name Generator Specific Styles --- */
.generator-section { background-color: #ffffff; border: 1px solid #e9ecef; padding: 2em; border-radius: 12px; margin-top: 2em; }
.name-display { font-family: 'Gochi Hand', cursive; font-size: 3em; color: #6c5ce7; padding: 20px; border: 2px dashed #ced4da; border-radius: 8px; margin: 1em 0; min-height: 60px; display: flex; align-items: center; justify-content: center; }
.user-inputs input { margin-bottom: 10px; }
.filter-buttons { display: flex; gap: 10px; margin-bottom: 1em; flex-wrap: wrap; justify-content: center; }
.filter-buttons button { width: auto; background-color: #dfe6e9; color: #2d3436; }
.filter-buttons button.active { background-color: #6c5ce7; color: white; }
.add-name-btn { width: auto !important; font-size: 0.9em !important; padding: 8px 15px !important; margin-top: 5px; background-color: #2ecc71 !important; }

/* --- Paw Animation Styles --- */
.paw-animation-container {
    position: relative;
    width: 200px; /* Adjust size as needed */
    height: 200px;
    margin: 1em auto;
}
.paw-animation-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease-in-out;
}
.paw-part {
    opacity: 0; /* All fill parts are initially hidden */
}

/* --- Analog Clock Styles --- */
.analog-clock {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.clock {
    text-align: center;
    flex: 1;
    min-width: 250px;
    min-height: 320px; /* Increased by 2cm (approximately 75px) */
    padding: 20px;
}

.clock-face {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.clock-hand {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center bottom;
    transform: translate(-50%, -100%);
    transition: transform 0.1s ease-out;
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
}

.hour-hand {
    width: auto;
    height: 50px;
    z-index: 3;
}

.minute-hand {
    width: auto;
    height: 70px;
    z-index: 2;
}

.second-hand {
    width: auto;
    height: 85px;
    z-index: 4;
}

/* Remove specific adjustments - using center positioning */

.clocks {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
}

.clock {
    text-align: center;
    flex: 1;
    min-width: 250px;
}

.clock h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Digital clock time display */
.clock p {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    font-size: 1.8rem;
    margin-top: 1rem;
    color: #333;
}

/* Clock mobile styles moved to main mobile section */

.hour-hand {
    height: 45px;
}

.minute-hand {
    height: 60px;
}

.second-hand {
    height: 67px;
}

.clock p {
    font-size: 1.4rem;
}

/* Section headers with bold styling and shadows */
.section-header {
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

.main-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    margin: 2rem 0;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Column Bottom Images --- */
.column-bottom-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    margin-top: auto;
    transition: transform 0.3s ease;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.column-bottom-image:hover {
    transform: scale(1.05);
}

/* Make content blocks relative for absolute positioning */
.content-block.left,
.content-block.right {
    position: relative;
    padding-bottom: 200px; /* Space for the image */
    min-height: 600px; /* Ensure both columns have same minimum height */
}

/* Make re1.webp slightly smaller */
img[src*="re1.webp"] {
    transform: scale(0.8);
    bottom: -40px; /* Move down by approximately 1cm (40px) */
}


/* Mobile responsiveness for column images */
@media (max-width: 768px) {
    .column-bottom-image {
        margin-top: 1rem;
        border-radius: 10px;
    }
    
    /* Footer mobile styles */
    .social-media {
        gap: 1rem;
    }
    
    .social-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.8em;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }
    
    .footer-contact {
        padding: 1rem 0;
        margin: 1rem 0;
    }
    
    .contact-info p {
        font-size: 0.85em;
    }
}

/* --- Breed Matcher Results Styles --- */
.result-card {
    display: flex;
    gap: 2em;
    align-items: center;
    background-color: #fff;
    padding: 2em;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 2em;
}
.result-card-image {
    flex-basis: 200px; /* Fixed width for the image container */
}
.result-card-image img {
    width: 100%;
    border-radius: 8px;
}
.result-card-info {
    flex-grow: 1; /* Takes up the remaining space */
}
.stat-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    font-weight: bold;
    margin-bottom: 5px;
}
.stat-bar-background {
    background-color: #e9ecef;
    border-radius: 50px;
    height: 15px;
    margin-bottom: 1em;
    overflow: hidden;
}
.stat-bar-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50px;
}
