/* Basic Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #1a1a2e;
    /* Dark background */
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent horizontal scroll due to animations */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: #00bcd4;
    /* Neon blue for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #00e0ff;
}

.btn {
    display: inline-block;
    background-color: #e94560;
    /* Neon red/pink for buttons */
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #ff6a80;
    transform: translateY(-3px);
}

.section-padding {
    padding: 80px 0;
}

.section-subtitle {
    font-family: 'Oxanium', sans-serif;
    font-size: 2.8em;
    color: #00bcd4;
    /* Neon blue for subtitles */
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
    animation: fadeInSlideUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #e94560;
    border-radius: 2px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes scrollArrow {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Header & Navbar */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/hero.png') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: rgba(26, 26, 46, 0.8);
    /* Semi-transparent dark background */
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar .logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

.navbar .logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #fff;
    font-family: 'Oxanium', sans-serif;
    font-size: 1.1em;
    padding: 5px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00bcd4;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.hero-content {
    animation: fadeIn 1.5s ease-out forwards;
    opacity: 0;
}

.hero-content h1 {
    font-family: 'Oxanium', sans-serif;
    font-size: 4.5em;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
}

.hero-content .shop-btn {
    animation: pulse 2s infinite ease-in-out;
}

.scroll-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-right: 4px solid #e94560;
    border-bottom: 4px solid #e94560;
    transform: rotate(45deg);
    animation: scrollArrow 1.5s infinite;
    cursor: pointer;
}

/* About Us Section */
.about-us .about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-us .about-image {
    width: 50%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 189, 212, 0.4);
    transition: transform 0.4s ease;
}

.about-us .about-image:hover {
    transform: scale(1.02);
}

.about-us p {
    width: 50%;
    font-size: 1.1em;
    color: #c0c0c0;
}

/* Featured Products Section */
.featured-products {
    background-color: #131324;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #21213e;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.4);
}

.product-card img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.03);
}

.product-card h3 {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.5em;
    color: #e0e0e0;
    margin-bottom: 10px;
}

.product-card p {
    font-size: 1.2em;
    color: #00bcd4;
    font-weight: bold;
    margin-bottom: 20px;
}

.product-card .add-to-cart {
    background-color: #00bcd4;
}

.product-card .add-to-cart:hover {
    background-color: #00e0ff;
}

/* Why Choose Us Section */
.why-choose-us {
    background-color: #1a1a2e;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #21213e;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
    opacity: 0;
    /* For JS animation */
    transform: translateY(20px);
    /* For JS animation */
}

.feature-card:nth-child(even) {
    background-color: #2a2a4a;
}

.feature-card:hover {
    transform: translateY(-10px);
    background-color: #2d2d55;
    box-shadow: 0 10px 20px rgba(233, 69, 96, 0.4);
}

.feature-card .icon {
    font-size: 1.4em;
    color: #e0e0e0;
}

.feature-card h3 {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.4em;
    color: #e0e0e0;
    margin-bottom: 10px;
}

.feature-card p {
    color: #c0c0c0;
}

/* Customer Reviews Section */
.customer-reviews {
    background-color: #131324;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
}

.review-card {
    background-color: #21213e;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    opacity: 0;
    /* For JS animation */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

.review-card .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #e94560;
}

.review-card h3 {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.3em;
    color: #e0e0e0;
    margin-bottom: 10px;
}

.review-card p {
    font-style: italic;
    color: #c0c0c0;
}

/* Contact Section */
.contact-section {
    background-color: #1a1a2e;
}

.contact-content {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: #21213e;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 1.1em;
    color: #e0e0e0;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #3a3a5a;
    border-radius: 5px;
    background-color: #131324;
    color: #e0e0e0;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #00bcd4;
    box-shadow: 0 0 8px rgba(0, 189, 212, 0.6);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    background-color: #e94560;
}

.contact-form .submit-btn:hover {
    background-color: #ff6a80;
}

.error-message {
    color: #ff4d4d;
    font-size: 0.9em;
    margin-top: 5px;
    display: none;
    /* Hidden by default, shown by JS */
}

.contact-details {
    flex: 1;
    min-width: 300px;
    background-color: #21213e;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.contact-details h3 {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.8em;
    color: #00bcd4;
    margin-bottom: 25px;
}

.contact-details p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.contact-details a {
    color: #00bcd4;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #00e0ff;
}

.map-container {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 189, 212, 0.5);
}

.map-container iframe {
    border-radius: 8px;
}

/* Footer */
footer {
    background-color: #0d0d1e;
    color: #aaa;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
    border-top: 1px solid #2a2a4a;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: rgba(26, 26, 46, 0.95);
        position: absolute;
        top: 80px;
        /* Adjust based on navbar height */
        left: 0;
        padding: 20px 0;
        border-top: 1px solid #3a3a5a;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    .nav-links a {
        padding: 10px 0;
        display: block;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.8em;
    }

    .section-subtitle {
        font-size: 2em;
        margin-bottom: 40px;
    }

    .about-us .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-us .about-image,
    .about-us p {
        width: 100%;
    }

    .product-card,
    .feature-card,
    .review-card {
        padding: 20px;
    }

    .contact-content {
        flex-direction: column;
    }

    .contact-form,
    .contact-details {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2em;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-subtitle {
        font-size: 1.8em;
    }

    .product-card h3 {
        font-size: 1.3em;
    }

    .product-card p {
        font-size: 1.1em;
    }

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