/* css/style.css */

/* Fonts for Business Look */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Open+Sans:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #00e676; /* Vibrant Green - Main accent */
    --secondary-color: #ff4081; /* Pink - Secondary accent/highlights */
    --background-dark: #0a0a1a; /* Very dark blue/black - Main background */
    --card-bg: #1a1a2e; /* Darker blue for elements */
    --text-light: #e0e0e0; /* Light grey for main text */
    --text-accent: #80f2b6; /* Lighter green for subtle accents */
    --border-dark: #00b05b; /* Darker green border */
    --gradient-start: #0f1c2d; /* Gradient start for background */
    --gradient-end: #030a13; /* Gradient end for background */
    --glow-effect: 0 0 10px rgba(0, 230, 118, 0.6), 0 0 20px rgba(0, 230, 118, 0.4); /* Green Neon glow */
    --button-glow: 0 0 8px rgba(255, 64, 129, 0.8), 0 0 15px rgba(255, 64, 129, 0.5); /* Button glow */

    /* Button specific colors */
    --call-now-bg: #f5f5dc; /* Off-white */
    --call-now-text: var(--background-dark); /* Dark text for off-white button */
    --whatsapp-bg: #25d366; /* WhatsApp Green */
    --whatsapp-text: #FFFFFF; /* White text on WhatsApp green */

    /* Social media icons */
    --social-icon-color: var(--text-light); /* Light grey icons */
    --social-icon-hover: var(--primary-color); /* Primary color on hover */
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.7;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: rgba(10, 10, 26, 0.8);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-dark);
    box-shadow: var(--glow-effect);
    /* Removed sticky position */
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
    animation: fadeIn 1s ease-out;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    /* text-shadow removed */
}

/* Navigation (Mobile-First) */
nav ul {
    list-style: none;
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(10, 10, 26, 0.95);
    box-shadow: 0 8px 20px rgba(0, 230, 118, 0.3);
    border-top: 1px solid var(--border-dark);
    animation: slideDownFadeIn 0.4s ease-out forwards;
}

@keyframes slideDownFadeIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

nav ul.show {
    display: flex;
}

nav ul li {
    border-bottom: 1px solid rgba(0, 230, 118, 0.2);
}

nav ul li:last-child {
    border-bottom: none;
}

nav ul li a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    padding: 15px 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
    /* text-shadow removed */
}

nav ul li a:hover,
nav ul li a.active {
    background-color: rgba(0, 230, 118, 0.1);
    color: var(--primary-color);
    /* text-shadow removed */
}

.menu-toggle span {
    background-color: var(--primary-color);
}

/* Main Content Layout */
main {
    flex: 1;
    padding: 40px 0;
    position: relative;
    z-index: 1;
}

/* Sections - Appear on Scroll */
.section-wrapper {
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-wrapper.is-visible {
    opacity: 1;
    transform: translateY(0);
}

section {
    background-color: var(--card-bg);
    padding: 40px 30px;
    /* --- Curly Design Start --- */
    border-radius: 40px 10px 40px 10px / 10px 40px 10px 40px; /* Asymmetrical border-radius for organic shape */
    box-shadow: var(--glow-effect);
    border: 1px solid var(--border-dark);
    position: relative;
    overflow: hidden;
    transform: rotateZ(0deg); /* Initial state for subtle rotation effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hero section should remain more "boxy" or prominent */
.hero {
    border-radius: 20px; /* Keep hero section slightly more defined */
    box-shadow: var(--glow-effect); /* Keep prominent glow for hero */
    transform: none; /* No rotation for hero */
}


/* Section background details (abstract pattern) */
section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(0, 230, 118, 0.05) 0%, transparent 40%),
                radial-gradient(circle at bottom right, rgba(255, 64, 129, 0.05) 0%, transparent 40%);
    background-size: 200% 200%;
    animation: bgPan 20s infinite alternate linear;
    z-index: 0;
}

/* Add a subtle tilt/hover effect to non-hero sections */
section:not(.hero):hover {
    transform: rotateZ(0.5deg) translateY(-5px); /* Subtle tilt on hover */
    box-shadow: 0 0 25px rgba(0, 230, 118, 0.8), 0 0 40px rgba(255, 64, 129, 0.6); /* More prominent glow on hover */
}


section > * {
    position: relative;
    z-index: 1;
}

/* Unique Section Headers */
section h2 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
    /* text-shadow removed */
}

section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    box-shadow: var(--button-glow);
}

p {
    margin-bottom: 18px;
    color: var(--text-light);
    font-weight: 300;
}

ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

ul li {
    padding-left: 0;
    position: relative;
    margin-bottom: 12px;
    color: var(--text-light);
    font-size: 1.05rem;
    /* Removed ::before content to remove arrows */
}

/* Buttons */
.btn {
    display: inline-block;
    color: var(--background-dark);
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--glow-effect);
}

.btn-call {
    background-color: var(--call-now-bg);
    color: var(--call-now-text);
}

.btn-call:hover {
    background-color: #dcdcdc;
    box-shadow: 0 0 15px rgba(245, 245, 220, 0.7);
    transform: translateY(-5px) scale(1.02);
}

.btn-whatsapp {
    background-color: var(--whatsapp-bg);
    color: var(--whatsapp-text);
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.6);
}

.btn-whatsapp:hover {
    background-color: #1da84a;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.9);
    transform: translateY(-5px) scale(1.02);
}


.btn-group {
    text-align: center;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Hero Section (Home Page) */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--card-bg), rgba(26, 26, 46, 0.7));
    border-radius: 20px; /* Keep Hero section relatively more defined */
    margin-bottom: 60px;
    box-shadow: var(--glow-effect);
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Hero background elements (subtle moving particles/lines) */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="20" cy="20" r="2" fill="%2300e676"/><circle cx="80" cy="80" r="2" fill="%23ff4081"/><circle cx="50" cy="50" r="2" fill="%2380f2b6"/></svg>') repeat;
    background-size: 20px 20px;
    opacity: 0.1;
    animation: moveBackground 30s linear infinite;
}

@keyframes moveBackground {
    from { background-position: 0 0; }
    to { background-position: 100% 100%; }
}

.hero h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    /* text-shadow removed */
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-accent);
    position: relative;
    z-index: 1;
}

/* Product Dashboard - Dynamic Grid Layout */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background-color: var(--card-bg);
    /* --- Curly Design Start --- */
    border-radius: 30px 5px 30px 5px / 5px 30px 5px 30px; /* Asymmetrical border-radius for organic shape */
    box-shadow: var(--glow-effect);
    border: 1px solid var(--border-dark);
    transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02) rotateZ(-0.5deg); /* Subtle tilt on hover */
    box-shadow: 0 0 25px rgba(255, 64, 129, 0.7), 0 0 40px rgba(0, 230, 118, 0.5);
    background-color: rgba(26, 26, 46, 0.9);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-dark);
    transition: transform 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.product-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
    /* text-shadow removed */
}

.product-card p {
    font-size: 0.95rem;
    color: var(--text-accent);
    margin-bottom: 18px;
}

.product-card .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-top: auto;
    /* text-shadow removed */
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 650px;
    margin: 0 auto;
    padding: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    /* text-shadow removed */
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-dark);
    border-radius: 10px;
    background-color: rgba(26, 26, 46, 0.8);
    color: var(--text-light);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(255, 64, 129, 0.4);
    background-color: rgba(26, 26, 46, 0.95);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form button[type="submit"] {
    width: 100%;
    padding: 18px;
    background-color: var(--primary-color);
    color: var(--background-dark);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 700;
    transition: background-color 0.4s ease, transform 0.3s ease, box-shadow 0.4s ease;
    box-shadow: var(--glow-effect);
}

.contact-form button[type="submit"]:hover {
    background-color: var(--secondary-color);
    color: #ffffff;
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--button-glow);
}

/* Global Footer (Specific footer for contact page) */
.page-footer {
    background-color: rgba(10, 10, 26, 0.9);
    color: var(--text-accent);
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid var(--border-dark);
    box-shadow: 0 -2px 10px rgba(0, 230, 118, 0.4);
    backdrop-filter: blur(5px);
    margin-top: auto;
}

.page-footer .footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-footer h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 700;
    /* text-shadow removed */
}

.page-footer .contact-info p {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--text-accent);
}

.page-footer .contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-footer .contact-info a:hover {
    color: var(--secondary-color);
}

.social-links {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.social-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--social-icon-color);
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-link-item:hover {
    transform: translateY(-5px);
    color: var(--social-icon-hover);
}

.social-link-item img {
    width: 35px;
    height: 35px;
    margin-bottom: 8px;
    filter: brightness(0.8); /* Re-added subtle brightness for dark theme icons */
    transition: filter 0.3s ease;
}
.social-link-item:hover img {
    filter: brightness(1.2) drop-shadow(0 0 8px var(--primary-color)); /* Glow on hover for dark theme icons */
}

.social-link-item span {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: capitalize;
}

/* Responsive Design Adjustments */
@media (min-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }

    nav ul {
        display: flex;
        flex-direction: row;
        position: static;
        box-shadow: none;
        border-top: none;
        animation: none;
        background-color: transparent;
    }

    nav ul li {
        margin-left: 35px;
        border-bottom: none;
    }

    nav ul li a {
        padding: 5px 10px;
    }

    .menu-toggle {
        display: none;
    }

    .btn-group {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
    }

    .hero {
        padding: 120px 40px;
    }

    .hero h1 {
        font-size: 4.5rem;
    }

    .hero p {
        font-size: 1.5rem;
    }

    section {
        padding: 60px 50px;
    }

    section h2 {
        font-size: 3rem;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Specific product card styling for unique look */
.product-card:nth-child(even) {
    transform: translateY(15px);
    margin-bottom: 30px;
}
.product-card:nth-child(even):hover {
    transform: translateY(5px) scale(1.02);
}