﻿
:root {
    --primary-color: #4CAF50;
    --secondary-color: #388E3C;
    --accent-color: #8BC34A;
    --text-color: #333;
    --light-text: #f5f5f5;
    --bg-color: #ffffff;
    --card-bg: #f9f9f9;
    --nav-bg: #ffffff;
    --footer-bg: #2E7D32;
    --transition: all 0.3s ease;
}

.dark-mode {
    --primary-color: #689F38;
    --secondary-color: #33691E;
    --accent-color: #7CB342;
    --text-color: #f5f5f5;
    --light-text: #f5f5f5;
    --bg-color: #121212;
    --card-bg: #1E1E1E;
    --nav-bg: #1E1E1E;
    --footer-bg: #1B5E20;
}
/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
}

    .cta-button:hover {
        background: var(--secondary-color);
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

/* Slideshow */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: 5rem auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slide {
    display: none;
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: opacity 1s ease;
}

    .slide.active {
        display: block;
    }

.slide-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    border-radius: 5px;
    max-width: 50%;
}

.slide-nav {
    text-align: center;
    margin-top: 1rem;
}

.slide-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

    .slide-dot.active {
        background-color: var(--primary-color);
    }

/* Products Section */
.products {
    padding: 5rem 5%;
    text-align: center;
    background-color: var(--card-bg);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

    .section-title::after {
        content: '';
        position: absolute;
        width: 50%;
        height: 3px;
        background: var(--primary-color);
        bottom: -10px;
        left: 25%;
    }

.product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }

.product-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
    text-align: left;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-description {
    color: #777;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.product-price {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: block;
}

.product-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
}

    .product-button:hover {
        background: var(--secondary-color);
    }

/* Features Section */
.features {
    padding: 5rem 5%;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 10px;
    transition: var(--transition);
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    padding: 5rem 5%;
    background: var(--card-bg);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-form {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 500;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 0.8rem;
        border: 1px solid #ddd;
        border-radius: 5px;
        background: var(--card-bg);
        color: var(--text-color);
        transition: var(--transition);
    }

    .form-group textarea {
        height: 150px;
        resize: vertical;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
        }

.submit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

    .submit-btn:hover {
        background: var(--secondary-color);
    }

/* Footer */
footer {
    background: var(--footer-bg);
    color: white;
    padding: 3rem 5%;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: left;
    margin-bottom: 2rem;
}

.footer-column h3 {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

    .footer-column h3::after {
        content: '';
        position: absolute;
        width: 50%;
        height: 2px;
        background: white;
        bottom: -5px;
        left: 0;
    }

.footer-links {
    list-style: none;
}

    .footer-links li {
        margin-bottom: 0.8rem;
    }

    .footer-links a {
        color: #ddd;
        text-decoration: none;
        transition: var(--transition);
    }

        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

    .social-links a {
        color: white;
        font-size: 1.2rem;
        transition: var(--transition);
    }

        .social-links a:hover {
            color: var(--accent-color);
            transform: translateY(-3px);
        }

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    font-size: 0.9rem;
    color: #ddd;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: var(--transition);
}

    .dark-mode-toggle:hover {
        transform: scale(1.1);
    }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: var(--nav-bg);
    z-index: 999;
    transition: var(--transition);
    padding: 2rem;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

    .mobile-menu.active {
        left: 0;
    }

    .mobile-menu .mobile-menu-nav-links {
        flex-direction: column;
        margin-top: 4rem;
    }

        .mobile-menu .mobile-menu-nav-links li {
            margin: 1rem 0;
        }

    .mobile-menu .auth-buttons {
        margin-top: 2rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

.close-menu {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
}

    .overlay.active {
        display: block;
    }

/* Responsive */
@media (max-width: 992px) {
    .nav-links, .auth-buttons {
        display: none;
    }

    .mobile-menu .mobile-menu-nav-links {
        display: block;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .slide-caption {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .slide {
        height: 400px;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding-top: 80px;
        height: auto;
        padding-bottom: 80px;
    }

    .slide {
        height: 300px;
    }

    .slide-caption {
        bottom: 10px;
        left: 10px;
        max-width: 90%;
        padding: 0.5rem;
        font-size: 0.8rem;
    }
}
/* Main Content */
.main-content {
    padding: 20px;
    transition: margin-left 0.3s;
}

.sidebar.collapsed ~ .main-content {
    margin-left: 70px;
}

.card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 20px;
}

/* Contact Page */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 16px;
    }

    .form-group textarea {
        height: 150px;
    }

.btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

    .btn:hover {
        background-color: var(--secondary-color);
    }

/* Features Page */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.feature-card {
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

    .feature-card h3 {
        color: var(--dark-color);
        margin-bottom: 10px;
    }

/* Products Page */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    text-align: center;
    transition: transform 0.3s;
}

    .product-card:hover {
        transform: translateY(-5px);
    }

.product-image {
    height: 200px;
    background-color: #f0f0f0;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 50px;
}

.product-card h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.price {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 18px;
    margin: 10px 0;
}

/* About Page */
.about-section {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

    .about-section h2 {
        color: var(--dark-color);
        margin: 20px 0 10px;
    }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.team-member {
    text-align: center;
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #f0f0f0;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 40px;
}

.slideshow {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    filter: blur(0px);
    overflow: hidden;
}

    .slide.active {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
        animation: slideEffect 15s infinite;
    }

@keyframes slideEffect {
    0% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.05) rotate(0.5deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 2.5rem;
    z-index: 1;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    backdrop-filter: blur(8px);
    animation: fadeIn 1.5s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    background: linear-gradient(45deg, #4CAF50, #8BC34A, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 5s infinite alternate;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.hero img {
    width: 100%;
    height: contain;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, #4CAF50, #8BC34A);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

    .cta-button:before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient( 45deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100% );
        transform: rotate(45deg);
        animation: shine 3s infinite;
    }

@keyframes shine {
    0% {
        left: -50%;
    }

    100% {
        left: 100%;
    }
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    background: linear-gradient(45deg, #45a049, #7CB342);
}

.slide-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.slide-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .slide-dot.active {
        background: white;
        transform: scale(1.3);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    }

    .slide-dot:hover {
        background: rgba(255, 255, 255, 0.8);
        transform: scale(1.2);
    }

.slide-caption {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    font-size: 1.2rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.9);
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 25px;
    z-index: 2;
    animation: fadeIn 1s ease;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 80%;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 15s infinite linear;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0.7;
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.light-beam {
    position: absolute;
    height: 100%;
    width: 100px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0) 100%);
    top: 0;
    transform: skewX(-20deg);
    animation: beamMove 15s infinite linear;
    opacity: 0.3;
}

@keyframes beamMove {
    0% {
        left: -100px;
    }

    100% {
        left: 100%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-number {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 12px;
    border-radius: 20px;
    z-index: 2;
    backdrop-filter: blur(4px);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .slide-caption {
        font-size: 1rem;
        bottom: 50px;
    }

    .hero-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }
}

