﻿/* General styles */
body {
    font-family: Verdana;
    margin: 0;
    padding: 100;
    box-sizing: border-box;
}

header {
    background-image: url('');
    background-size: cover; /* or 'contain' */
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 20px; /* Fix padding units */
    height: 100px; /* Set header height to 100px */
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0 20px;
    width: 100%;
}

.logo {
    width: 300px; /* Adjust size as needed */
    logo-image: url('https://nurserysoftware.com/images/logo.png');
    height: auto;
    padding-left: 0px;
}

.title {
    font-size: 16px;
    color: #ffffff;
    text-align: center;
    width: 100%;
    font-family: Verdana;
    font-weight: bold;
    font-style: ;
    margin-top: 100px;
    padding-top: 0px; /* Adjust the value as needed to move the title lower */

}
cssCopy.title .ampersand {
    font-family: Verdana;
    font-weight: 700;
    font-size: 1.2em;
    vertical-align: middle;
    margin: 0 0.1em;
}

nav {
    width: 100%;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.nav-links li {
    list-style-type: none;
}
.nav-links a {
    color: #6d0a1b;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease
}

.nav-links a:hover {
    color: #f0a500;
}
/* Drop-down menu styles */
.nav-links .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #678065;
    padding: 10px 0;
    list-style: none;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    white-space: nowrap; /* Ensure the menu doesn't wrap text */
}

.nav-links .dropdown li {
    position: relative;
    margin: 0;
    padding: 0;
}

.nav-links .dropdown a {
    color: #678065;
    padding: 10px 20px;
    display: block;
}

.nav-links .dropdown a:hover {
    background-color: #333232;
}

.has-dropdown:hover .dropdown {
    display: block;
}

.has-dropdown > ul.dropdown {
    left: 0; /* Align to the left edge of the parent */
}

ul.dropdown li ul.dropdown {
    left: 100%;
    top: 0;
}

ul.dropdown li ul.dropdown {
    transform: translateX(-100%);
    top: 0;
}

/* Ensure submenu stays within the viewport */
ul.dropdown li ul.dropdown {
    left: auto;
    right: 100%;
    top: 0;
}

ul.dropdown li:hover > ul.dropdown {
    display: block;
}



/* General styles */
body {
    font-family: Arial, sans-serif;
    margin-left: 0;
    padding-left: 0;
    box-sizing: border-box;
}
.logo {
    font-size: 24px;
}

/* Navigation Styles */
nav {
    position: relative;
    z-index: 1300; /* Same as burger for consistency */
}

.nav-active {
    display: block;
    position: relative;
    z-index: 1300; /* Ensure menu stays on top */
}

/* Menu Items */
.nav-links li {
    position: relative;
    z-index: 1300; /* Ensure individual items also have high z-index */
}
.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
    margin: 0 15px;
}

.nav-links a {
    color: #055489;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    font-weight: bold;
}

.nav-links a:hover {
    color: #b20826;
}

/* Drop-down menu styles */
.nav-links .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #6d0a1b;
    padding: 10px 0;
    list-style: none;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    white-space: nowrap; /* Ensure the menu doesn't wrap text */
}

.nav-links .dropdown li {
    margin: 0;
    padding: 0;
}

.nav-links .dropdown a {
    color: #fff;
    padding: 10px 20px;
    display: block;
    white-space: nowrap;
}

.nav-links .dropdown a:hover {
    background-color: #575757;
}

.has-dropdown:hover .dropdown {
    display: block;
}
.has-dropdown > ul.dropdown {
    left: 0; /* Align to the left edge of the parent */
}

ul.dropdown li ul.dropdown {
    left: 100%;
    top: 0;
}

ul.dropdown li ul.dropdown {
    transform: translateX(-100%);
    top: 0;
}

/* Ensure submenu stays within the viewport */
ul.dropdown li ul.dropdown {
    left: auto;
    right: 100%;
    top: 0;
}

ul.dropdown li:hover > ul.dropdown {
    display: block;
}
/* Down arrow styles */
.has-dropdown > a::after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    background-image: url('https://tcss.club/images/arrowdown.png'); /* Update with your image path */
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 5px;
    margin-top: 2px; /* Adjust this value if needed to align vertically */
}

/* Burger menu styles */
.burger {
    display: block;
    cursor: pointer;
    z-index: 1400; /* Ensure it's always on top */
    position: fixed; /* Keep it fixed at the top */
    top: 25px; /* Adjust the top position */
    right: 200px; /* Adjust the right position */
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #055489; /* Color of the burger lines */
    margin: 5px;
    transition: all 0.3s ease;
}

/* Toggle animation for burger menu */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
    background-color: #055489; /* Color of the "X" */
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
    background-color: #055489; /* Color of the "X" */
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    nav {
        position: absolute;
        right: 0;
        height: 100vh;
        top: 60px;
        background-color: #ffffff;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .nav-links .dropdown {
        position: static;
        box-shadow: none;
        background-color: #000;
    }

    .nav-links .dropdown a {
        padding: 10px;
    }

    .burger {
        display: block;
        z-index: 1400; /* Make sure it's on top of everything */
    }
}

/* Footer styles */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

main {
    flex: 1;
}

footer {
    background-image: url('');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #0000;
    padding: 0;
    text-align: center;
    height: 100px;
    margin-top: auto;
    
    /* New styles for centering text */
    display: flex;
    justify-content: center;
    align-items: center;
}