:root {
    --primary-color: #0b4d8c;
    /* Takealot dark blue style */
    --secondary-color: #00a0d6;
    /* Takealot light blue style */
    --accent-color: #f46220;
    /* Vibrant Orange */
    --bg-color: #f1f5f9;
    --text-color: #334155;
    --card-bg: #ffffff;
    --border-radius: 12px;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    scroll-behavior: smooth;
    /* Vir gladder blaai */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    position: relative;
}

/* Background animated pets container */
#walking-pets-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    /* sodat jy daardeur kan klik */
    z-index: 0;
    overflow: hidden;
}

.pet-wrapper {
    position: absolute;
}

.pet-icon {
    font-size: 50px;
    color: rgba(11, 77, 140, 0.08);
    /* Baie ligte blou */
}

/* Agtergrond loop-animasie aspekte */
@keyframes moveRight {
    0% {
        transform: translateX(-150px);
    }

    100% {
        transform: translateX(calc(100vw + 150px));
    }
}

@keyframes moveLeft {
    0% {
        transform: translateX(calc(100vw + 150px)) scaleX(-1);
    }

    100% {
        transform: translateX(-150px) scaleX(-1);
    }
}

@keyframes petBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    /* Maak "stap" effek */
}

.main-content,
.navbar,
footer {
    position: relative;
    z-index: 10;
}

/* Navbar */
.navbar {
    background-color: var(--primary-color);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 1px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform var(--transition-speed);
}

.logo-icon {
    font-size: 36px;
    background: linear-gradient(135deg, var(--accent-color), #ff9e43);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.2));
}

.logo:hover {
    transform: scale(1.05);
}

.search-bar {
    display: flex;
    flex: 0.8;
    max-width: 700px;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: border 0.3s;
}

.search-bar:focus-within {
    border: 2px solid var(--secondary-color);
}

.search-bar input {
    width: 100%;
    padding: 14px 25px;
    border: none;
    outline: none;
    font-size: 16px;
}

.search-bar button {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 0 30px;
    font-size: 18px;
    cursor: pointer;
    transition: background var(--transition-speed);
}

.search-bar button:hover {
    background: #0088b5;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes pulseGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 5%;
    background: linear-gradient(-45deg, var(--primary-color), var(--secondary-color), #4facfe, #00f2fe);
    background-size: 400% 400%;
    animation: pulseGradient 15s ease infinite;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    min-height: 450px;
    border-radius: 0 0 50px 50px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.hero-title-img {
    max-width: 100%;
    width: 400px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-motto {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #e0f2fe;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-desc {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.cta-button {
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    padding: 18px 45px;
    font-size: 20px;
    font-weight: 800;
    border-radius: 40px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(244, 98, 32, 0.4);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background var(--transition-speed), box-shadow 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.cta-button:hover {
    transform: scale(1.08) translateY(-5px);
    background: #ff7536;
    box-shadow: 0 15px 35px rgba(244, 98, 32, 0.5);
}

.hero-shapes .shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    z-index: 1;
    animation: float 6s infinite ease-in-out;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.shape1 {
    width: 350px;
    height: 350px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape2 {
    width: 250px;
    height: 250px;
    bottom: -50px;
    right: 8%;
    animation-delay: -2s;
    border-radius: 30%;
}

.shape3 {
    width: 180px;
    height: 180px;
    top: 15%;
    right: 25%;
    animation-delay: -4s;
    border-radius: 40% 60% 70% 30%;
}

/* Products Section */
.products-section {
    padding: 60px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 60px;
    font-weight: 800;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 5px;
    background: var(--accent-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.product-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
    opacity: 0;
    transform: translateY(40px);
    display: flex;
    flex-direction: column;
}

.product-card.visible {
    animation: fadeInUp 0.7s ease-out forwards;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.product-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #f0f4f8, #e1e7ee);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 80px;
    color: #cbd5e1;
    margin-bottom: 25px;
    transition: transform var(--transition-speed), color 0.3s;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.product-card:hover .product-image {
    transform: scale(1.08);
    color: var(--secondary-color);
}

.product-name {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary-color);
    min-height: 28px;
}

.product-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 0;
    font-style: italic;
}

.product-rating {
    color: #fbbf24;
    font-size: 16px;
    margin-bottom: 20px;
}

.product-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 25px;
    flex-grow: 1;
}

.add-to-cart {
    width: 100%;
    padding: 15px;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    font-weight: 800;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.add-to-cart:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 77, 140, 0.25);
}

.add-to-cart:active {
    transform: scale(0.95);
}

/* Features */
.features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 80px 5%;
    gap: 40px;
}

.feature {
    text-align: center;
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 50px;
    color: var(--secondary-color);
    margin-bottom: 25px;
    background: #eef2f6;
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    display: inline-block;
    transition: transform 0.3s, background 0.3s, color 0.3s;
}

.feature:hover .feature-icon {
    transform: rotate(10deg) scale(1.1);
    background: var(--secondary-color);
    color: white;
}

.feature h3 {
    margin-bottom: 15px;
    font-size: 24px;
    color: var(--primary-color);
}

.feature p {
    color: #64748b;
    font-size: 16px;
}

/* Footer */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 5% 0;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 30px;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
}

.footer-bottom {
    text-align: center;
    padding: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 20px;
    }

    .search-bar {
        width: 100%;
        max-width: 100%;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero {
        padding: 80px 5%;
        border-radius: 0 0 30px 30px;
    }
}