/* Reset default margins and paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Typography Improvements */
body {
    background-color: #0e0e0e;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-weight: 700;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

header h1 {
    font-size: 1.8em;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s;
}

nav a:hover {
    color: #ff6b6b;
}

/* Parallax Section */
#parallax {
    background-image: url('parallax-background.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 200px 20px;
    text-align: center;
    position: relative;
}

#parallax::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(14, 14, 14, 0.7);
}

.parallax-content {
    position: relative;
    z-index: 1;
}

.parallax-content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.parallax-content p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Buttons */
.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.button {
    padding: 15px 30px;
    background-color: #ff6b6b;
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1em;
    transition: background-color 0.3s, transform 0.3s;
}

.button:hover {
    background-color: #ff4c4c;
    transform: translateY(-5px);
}

/* Main Content */
main {
    padding: 60px 20px;
}

main section {
    margin-bottom: 80px;
}

main h2 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 30px;
}

main p {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
}

.product-image {
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

/* Features */
#features ul {
    list-style: none;
    margin-top: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

#features li {
    margin-bottom: 20px;
    font-size: 1.1em;
    display: flex;
    align-items: flex-start;
}

#features li::before {
    content: '';
    width: 10px;
    height: 10px;
    background-color: #ff6b6b;
    border-radius: 50%;
    margin-right: 15px;
    margin-top: 8px;
}

/* Testimonials */
.testimonial {
    background-color: #1e1e1e;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.testimonial span {
    font-size: 0.9em;
    color: #cccccc;
}

/* Call to Action */
#call-to-action {
    text-align: center;
}

/* Contact Section */
#contact {
    text-align: center;
}

#contact p {
    margin-bottom: 20px;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    background-color: #0e0e0e;
}

footer p {
    margin-bottom: 20px;
    font-size: 0.9em;
    color: #666666;
}

.social-media {
    margin-bottom: 20px;
}

.social-media a {
    margin: 0 10px;
}

.social-media img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transition: filter 0.3s;
}

.social-media img:hover {
    filter: brightness(0) invert(0.7);
}

.footer-nav a {
    color: #666666;
    margin: 0 15px;
    font-size: 0.9em;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #ff6b6b;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        margin-top: 15px;
    }

    .buttons {
        flex-direction: column;
    }

    h1 {
        font-size: 1.5em;
    }

    .parallax-content h2 {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    header {
        padding: 10px;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    nav a {
        font-size: 0.9em;
    }

    .parallax-content h2 {
        font-size: 1.8em;
    }

    .parallax-content p {
        font-size: 1em;
    }

    #parallax {
        padding: 150px 10px;
    }

    .buttons {
        flex-direction: column;
        gap: 10px;
    }

    .button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

/* Animations */
html {
    scroll-behavior: smooth;
}

/* AOS Animations */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Accessibility Enhancements */
nav a:focus,
.button:focus,
.footer-nav a:focus {
    outline: 2px dashed #ff6b6b;
    outline-offset: 4px;
}

body, html {
    height: 100%;
    margin: 0;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

header {
    height: 100vh; /* Full viewport height */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align links to the bottom */
    align-items: center;
    padding-bottom: 30px; /* Space from bottom for links */
    text-align: center;
    background: transparent; /* Ensure transparency for particles */
}

@media (max-width: 768px) {
    /* Features Section Adjustments */
    #features ul {
        padding: 0 15px;
        margin: 20px 0;
    }

    #features li {
        display: block; /* Stack items vertically */
        margin-bottom: 15px; /* Reduce spacing for better fit */
        font-size: 1em; /* Adjust font size for smaller screens */
    }

    #features li::before {
        width: 8px;
        height: 8px;
        margin-top: 0; /* Align the circle with text */
        margin-right: 10px;
    }

    #features h2 {
        font-size: 1.6em; /* Reduce heading size */
        margin-bottom: 15px; /* Adjust spacing below heading */
    }
}
