:root {
    --primary-color: #a71eab;
    --primary-dark: #8a158e;
    --black: #000000;
    --dark-gray: #121212;
    --medium-gray: #1e1e1e;
    --light-gray: #e0e0e0;
    --white: #ffffff;
    --text-color: #f4f4f4;
    --text-muted: #a0a0a0;
    --border-radius: 6px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --header-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--black);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* Header */
.header {
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    height: var(--header-height);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--medium-gray);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    /* Adjust based on header height */
    width: auto;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-list a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: var(--transition);
}

/* Sections */
.section {
    padding: 80px 0;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
    text-align: center;
}

/* Hero */
.hero {
    height: 70vh;
    min-height: 500px;
    /* Ensure it doesn't get too small on short screens */
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    position: relative;
    padding-top: var(--header-height);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(167, 30, 171, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--white), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin: 0 auto 30px auto;
    max-width: 600px;
}

/* About */
.about {
    background-color: var(--dark-gray);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    text-align: left;
}

.about-text p {
    margin-bottom: 25px;
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    display: block;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--medium-gray);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: left;
    transition: var(--transition);
    border: 1px solid transparent;
    /* Prepare for hover border */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    flex-grow: 1;
    margin-bottom: 20px;
}

/* Contact */
.contact {
    background-color: var(--black);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    text-align: left;
}

.contact-details {
    margin-top: 30px;
}

.contact-details li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form {
    background-color: var(--medium-gray);
    padding: 40px;
    border-radius: var(--border-radius);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--black);
    border: 1px solid var(--dark-gray);
    border-radius: var(--border-radius);
    color: var(--white);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    padding: 40px 0;
    border-top: 1px solid var(--medium-gray);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(167, 30, 171, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        position: relative;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--black);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        border-left: 1px solid var(--medium-gray);
    }

    .nav-list.active {
        right: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .img-placeholder {
        height: 300px;
    }
}

/* Products */
.products {
    background-color: var(--dark-gray);
}

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

.product-card {
    background-color: var(--medium-gray);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid transparent;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.product-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-small:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Hero Carousel */
.hero {
    position: relative;
    overflow: hidden;
    /* Height is already defined in style.css but we ensure relative positioning here */
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Product Slide Composition */
.hero-content-product {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    max-width: 1200px;
    /* Wider container for side-by-side */
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-product-img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    /* Limit height to fit hero */
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    /* Add depth */
}

@media (max-width: 768px) {
    .hero-content-product {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .hero-product-img {
        max-height: 250px;
    }
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    /* Ensure background covers the slide area */
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Re-apply the radial gradient effect to each slide if desired, or keep it on .hero */
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(167, 30, 171, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active,
.dot:hover {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Internal Page Styles */
.page-hero {
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    position: relative;
    padding-top: var(--header-height);
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    background: linear-gradient(to right, var(--white), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}

.page-content {
    padding: 80px 0;
    background-color: var(--black);
}

.content-block {
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.content-block h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.content-block h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px 0;
    color: var(--primary-color);
}

.content-block p {
    margin-bottom: 20px;
    color: var(--text-color);
}

.content-block ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.content-block li {
    margin-bottom: 10px;
}

.cta-block {
    text-align: center;
    padding: 60px;
    background-color: var(--medium-gray);
    border-radius: var(--border-radius);
    border: 1px solid var(--primary-color);
}

.cta-block h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--white);
}

.content-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin: 40px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.features-wrapper {
    display: flex;
    align-items: center;
    /* Vertically center items */
    gap: 40px;
    margin-bottom: 40px;
}

.features-list {
    flex: 0 0 50%;
}

.features-image-side {
    flex: 1;
}

.content-img-side {
    width: 100%;
    height: 100%;
    /* Fill the carousel slide */
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.img-70 {
    width: 70%;
    margin: 0 auto 40px auto;
    display: block;
}

@media (max-width: 768px) {
    .features-wrapper {
        flex-direction: column;
    }

    .img-70 {
        width: 100%;
    }

    .features-list {
        flex: 1;
        width: 100%;
    }
}

/* Feature Carousel */
.feature-carousel {
    position: relative;
    width: 100%;
    height: 600px;
    /* Increased height to fit larger images */
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.feature-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.feature-slide.active {
    opacity: 1;
}

.feature-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--border-radius);
    margin: 0;
    /* Override default content-img margin */
    box-shadow: none;
    /* Shadow is on container */
}