/* Styles for Nursery website */

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

header {
    background-color: #000;
    padding: 10px 20px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.logo .green {
    color: #4caf50;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #4caf50;
}

.icons a {
    color: #fff;
    text-decoration: none;
    margin-left: 15px;
    font-size: 1.2rem;
}

.hero {
    position: relative;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 0 20px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.shop-now-btn {
    background-color: #4caf50;
    border: none;
    color: #fff;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.shop-now-btn:hover {
    background-color: #45a049;
}

.products {
    padding: 40px 20px;
    background-color: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.product-item {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.product-item img {
    max-width: 100%;
    border-radius: 10px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.prev-btn, .next-btn {
    background-color: #4caf50;
    border: none;
    color: #fff;
    padding: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.prev-btn:hover, .next-btn:hover {
    background-color: #45a049;
}

footer {
    text-align: center;
    background-color: #000;
    color: #fff;
}

/* Footer Legal Section */
.legal-section {
    width: 100%;
    text-align: center;
    padding: 1rem 0;
}

.legal-divider {
    height: 1px;
    background: linear-gradient(
        to right,
        rgba(28, 25, 23, 0),
        rgba(167, 243, 208, 0.2),
        rgba(28, 25, 23, 0)
    );
    margin: 0.5rem auto;
    width: 80%;
}

.legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 1rem 0;
}

.legal-link {
    color: #d6d3d1; /* stone-300 */
    text-decoration: none;
    font-size: 1.125rem;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.legal-link:hover {
    color: #34d399; /* emerald-400 */
    background-color: rgba(52, 211, 153, 0.1);
}

.legal-separator {
    color: #78716c; /* stone-500 */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .legal-links {
        gap: 1rem;
    }

    .legal-divider {
        width: 90%;
    }

    .legal-link {
        font-size: 1rem;
        padding: 0.375rem 0.75rem;
    }
}