/* Body Background */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: url('../assets/ShihTzuClanBackground.jpg') no-repeat center center / cover;
    color: black;
    text-shadow: 1px 1px 2px black;
    overflow-x: auto;
}



/* Fix for navbar position */
.navbar {
    position: fixed;
    top: 0; /* No offset */
    left: 0;
    width: 100%; /* Ensures it spans the full screen */
    min-width: 100vw; /* Ensures it never shrinks smaller */
    height: 28vh; /* Correct height */
    background: url('../assets/ShihTzuDragonTopPanel.jpg') no-repeat center center;
    background-size: cover; /* Prevents cropping */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 10px;
    animation: dropDown 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Drop-down animation for navbar */
@keyframes dropDown {
    0% {
        top: -20vh;
    }
    80% {
        top: 0vh;
    }
    100% {
        top: 0vh; /* No bounce to avoid misalignment */
    }
}



/* Adjust Navbar Items */
.navbar .logo a {
    font-size: 1.8em;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

/* Navigation Links */
.navbar .nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.navbar .nav-links li {
    margin: 0 10px;
    position: relative;
    display: flex;
    align-items: center;
}

/* Fix Paw Icon Alignment */
.navbar .nav-links a {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 1em;
    padding: 10px 50px;
    line-height: 1.5;
    vertical-align: middle;
    position: relative;
}

/* Fix Paw Icon Placement */
.navbar .nav-links a::before {
    content: url('../assets/EarthPaw.png');
    width: 25px;
    height: 25px;
    display: inline-block;
    margin-right: 32px; /* Ensures space between icon and text */
    position: relative;
    top: -23px; /* Adjusts icon height to align better with text */
    animation: paw-walk 1s infinite ease-in-out;
}

/* Fix Last Nav Item (Contacts) */
/* .navbar .nav-links li:last-child a {
    display: flex;
    align-items: center;
    white-space: nowrap;  Prevents text from wrapping 
} */

/* Ensure Proper Spacing for Last Icon */
/* .navbar .nav-links li:last-child a::before {
    margin-right: 52px;
    position: relative;
    top: 0px;
} */

.navbar .nav-links a:hover {
    color: #ffcc00; /* Golden highlight effect */
}

/* Fix Dropdown Menu */
.navbar .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.15);
    color: black;
    list-style: none;
    padding: 12px 0;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Fire Gradient Text */
.navbar .dropdown-menu a {
    display: flex;
    align-items: left;
    text-decoration: none;
    padding: 32px 35px;
    font-weight: bold;
    font-size: 1em;
    background: linear-gradient(45deg, #ffcc00, #ff6600, #ff3300, #cc0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background 0.3s ease-in-out;
    z-index: 9999;
}

/* On Hover, Text Becomes Brighter */
.navbar .dropdown-menu a:hover {
    background: linear-gradient(45deg, #ffff66, #ffcc00, #ff6600, #ff3300);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* Dropdown Paw Icon */
.navbar .dropdown-menu a::before {
    content: url('../assets/FirePaw.png');
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 55px; /* Increased spacing */
    position: relative;
    top: -20px;
}

/* Dropdown Chain Effect */
.navbar .dropdown-menu li {
    opacity: 0;
    transform: translateY(-10px);
    animation: dropdown-expand 0.3s ease-in-out forwards;
}

.navbar .dropdown-menu li:nth-child(1) {
    animation-delay: 0.1s;
}
.navbar .dropdown-menu li:nth-child(2) {
    animation-delay: 0.3s;
}

@keyframes dropdown-expand {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Show Dropdown on Hover */
.navbar .nav-links li:hover .dropdown-menu {
    display: block;
}

/* Fix Navbar Button Icon Spacing */
/* .navbar .nav-links li {
    display: flex;
    align-items: center;
} */

/* Fix Contacts Button Icon Spacing 
.navbar .nav-links li:last-child a::before {
    margin-right: 14px; // Ensures spacing between icon and text 
}*/

/* Main Content */
/* Push the main body content down */
.content {
    padding: 20px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 10px;
    margin: 30vh auto 20px auto; /* Increased margin from the top */
    min-width: 320px; /* Ensures mobile-friendly layout */
    max-width: 800px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.content h1,
.content h2 {
    color: #333;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
}

/* Contact Page Fixes */
.contact form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: auto;
}

.contact form label {
    margin-top: 10px;
    font-weight: bold;
}

.contact form input,
.contact form textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.contact form button {
    margin-top: 15px;
    padding: 10px;
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
}
