/* 
   Branding by ALASCA - Premium Corporate Theme
   Dark Mode with Gold/Green Accents
*/

:root {
    /* Colors */
    --color-bg-primary: #020b18;
    --color-bg-secondary: #121212;
    --color-bg-tertiary: #1a1a1a;

    --color-text-primary: #f4f4f4;
    --color-text-secondary: #a0a0a0;
    --color-text-muted: #666666;

    --color-accent: #D4AF37;
    /* Metallic Gold */
    --color-accent-hover: #b5952f;
    --color-accent-green: #005f4b;
    /* Deep Premium Green */

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* Typography Utility */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
    text-align: center;
}

.section-tag {
    display: block;
    text-align: center;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
}

.section-padding {
    padding: var(--section-padding) 0;
}

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

.bg-darker {
    background-color: var(--color-bg-secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
}

.product-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition-medium);
    border: 1px solid transparent;
    text-decoration: none;
    /* Added for anchor tag */
    color: inherit;
    /* Added for anchor tag */
    display: block;
    /* Ensure it behaves like a block */
}

.btn-primary {
    background-color: var(--color-accent);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn-secondary:hover {
    background-color: var(--color-accent);
    color: #000;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background-color: transparent;
    transition: all 0.4s ease;
}

.header.scrolled {
    background-color: rgba(2, 11, 24, 0.95);
    padding: 15px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

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

.logo {
    display: block;
}

.logo img {
    height: 70px;
    /* Adjusted for visibility */
    width: auto;
    object-fit: contain;
}

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

.nav-link {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    position: relative;
}

.nav-link:hover {
    color: var(--color-accent);
}

.btn-primary-nav {
    border: 1px solid var(--color-accent);
    padding: 8px 20px;
    color: var(--color-accent);
    border-radius: 2px;
}

.btn-primary-nav:hover {
    background: var(--color-accent);
    color: #000;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop');
    /* Placeholder Luxury BG */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Hero Initiative Text */
.hero-initiative {
    font-size: 1.2rem;
    color: var(--color-accent);
    margin: 15px 0 30px;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

/* About Slider */
.about-slider-container {
    position: relative;
    max-width: 900px;
    margin: 50px auto 0;
    overflow: hidden;
    padding: 20px 0;
}

.about-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.about-slide {
    min-width: 100%;
    padding: 0 50px;
    /* Space for arrows */
    box-sizing: border-box;
    text-align: center;
}

.about-slide h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.about-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    /* Ensure these are visible */
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.about-btn:hover {
    background: var(--color-primary);
    color: #fff;
}

.prev-about {
    left: 0;
}

.next-about {
    right: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(10, 10, 10, 1));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    /* JS Animation trigger */
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.8s;
}

.hero-buttons {
    opacity: 0;
    animation: fadeIn 1.5s forwards 1.2s;
}

.hero-buttons .btn {
    margin: 0 10px;
}

/* About Section */
.about-text {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

/* Why Us Grid */
.grid-2-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-card {
    background: var(--color-bg-tertiary);
    /* Card bg */
    padding: 40px;
    border-radius: 4px;
    text-align: center;
    border: 1px solid #222;
    transition: var(--transition-medium);
}

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

.icon-box {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--color-text-primary);
}

.feature-card p {
    color: var(--color-text-secondary);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background: var(--color-bg-secondary);
    padding: 30px 20px;
    text-align: center;
    border-radius: 4px;
    border: 1px solid #222;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-5px);
    background: var(--color-bg-tertiary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.product-icon {
    font-size: 2.5rem;
    color: var(--color-accent-green);
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.product-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Product Details - Modern Overhaul */
.product-details .container {
    max-width: 1200px;
    /* Constrain width for alignment */
    margin: 0 auto;
    padding: 0 20px;
}

.detail-row {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center content */
    gap: 80px;
    /* Increase gap */
    margin-bottom: 120px;
    padding: 40px;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.detail-row:hover {
    background: rgba(255, 255, 255, 0.02);
    /* Subtle highlight */
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-row.reverse {
    flex-direction: row-reverse;
}

.detail-content {
    flex: 1;
    text-align: left;
    /* Ensure text aligns left */
}

.detail-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.detail-content h3 {
    font-size: 3.5rem;
    /* Bigger, Bolder */
    font-weight: 700;
    line-height: 1.1;
    background: linear-gradient(to right, #fff, var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
}

.feature-list li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    color: var(--color-text-secondary);
    font-size: 1.25rem;
    /* Larger readable text */
    font-weight: 400;
}

.feature-list li i {
    color: var(--color-accent);
    margin-right: 20px;
    font-size: 1.2rem;
    background: rgba(255, 215, 0, 0.1);
    /* Glassy icon bg */
    padding: 10px;
    border-radius: 50%;
}

/* Modern Slider Container */
.product-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    /* Smooth corners */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    /* Deep shadow */
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.2));
    /* Glass/Metal effect */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-slide .image-wrapper {
    width: 100%;
    height: 450px;
    /* Taller images */
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    /* No more black box */
    border: none;
    padding: 20px;
    /* Breathing room for contained image */
}

.product-slide .image-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    /* Shadow on the image itself */
    transition: transform 0.3s ease;
}

.product-slide:hover img {
    transform: scale(1.05);
    /* Slight zoom on hover */
}

/* Use Cases */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.industry-card {
    text-align: center;
    padding: 30px 10px;
    border: 1px solid #222;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.industry-card:hover {
    border-color: var(--color-accent);
    background: var(--color-bg-tertiary);
}

.industry-card i {
    font-size: 2rem;
    color: var(--color-text-secondary);
    margin-bottom: 15px;
    transition: 0.3s;
}

.industry-card:hover i {
    color: var(--color-accent);
    transform: scale(1.1);
}

.industry-card p {
    font-size: 0.9rem;
    color: var(--color-text-primary);
}

/* Product Slider */
.product-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.product-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.product-slide {
    min-width: 100%;
    box-sizing: border-box;
}

.product-slide .image-wrapper {
    width: 100%;
    height: 350px;
    /* Fixed height for consistency */
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #333;
}

.product-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Crop to fit */
    display: block;
}

/* Override for Hand Fan section to show full images */
#fan-details .product-slide .image-wrapper {
    height: auto;
    border: none;
}

#fan-details .product-slide img {
    object-fit: contain;
    height: auto;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev-fan {
    left: 10px;
}

.next-fan {
    right: 10px;
}

.prev-cap {
    left: 10px;
}

.next-cap {
    right: 10px;
}

.prev-rechargeable {
    left: 10px;
}

.next-rechargeable {
    right: 10px;
}

/* Override for Rechargeable Fan section to show full images */
#rechargeable-fan-details .product-slide .image-wrapper {
    height: auto;
    border: none;
}

#rechargeable-fan-details .product-slide img {
    object-fit: contain;
    height: auto;
}

.prev-powerbank {
    left: 10px;
}

.next-powerbank {
    right: 10px;
}

/* Override for Power Bank section to show full images */
#powerbank-details .product-slide .image-wrapper {
    height: auto;
    border: none;
}

#powerbank-details .product-slide img {
    object-fit: contain;
    height: auto;
}

/* Chair Slider Buttons */
.prev-chair {
    left: 10px;
}

.next-chair {
    right: 10px;
}

/* Override for Chair section */
#chair-details .product-slide .image-wrapper {
    height: auto;
    border: none;
}

#chair-details .product-slide img {
    object-fit: contain;
    height: auto;
}

/* Camera Slider Buttons */
.prev-camera {
    left: 10px;
}

.next-camera {
    right: 10px;
}

/* Override for Camera section */
#camera-details .product-slide .image-wrapper {
    height: auto;
    border: none;
}

#camera-details .product-slide img {
    object-fit: contain;
    height: auto;
}

/* T-Shirt Slider Buttons */
.prev-tshirt {
    left: 10px;
}

.next-tshirt {
    right: 10px;
}

/* Override for T-Shirt section */
#tshirt-details .product-slide .image-wrapper {
    height: auto;
    border: none;
}

#tshirt-details .product-slide img {
    object-fit: contain;
    height: auto;
}

/* Umbrella Slider Buttons */
.prev-umbrella {
    left: 10px;
}

.next-umbrella {
    right: 10px;
}

/* Override for Umbrella section */
#umbrella-details .product-slide .image-wrapper {
    height: auto;
    border: none;
}

#umbrella-details .product-slide img {
    object-fit: contain;
    height: auto;
}

/* Gallery */
/* Gallery Slider */
.gallery-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 50px;
    padding: 20px 0;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.gallery-item {
    min-width: 33.333%;
    /* 3 items visible on desktop */
    height: 350px;
    padding: 0 10px;
    /* Gap between items */
    position: relative;
    cursor: pointer;
    background: transparent;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 4px;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 10px;
    right: 10px;
    bottom: 0;
    background: rgba(0, 95, 75, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-medium);
    transform: translateY(20px);
    border-radius: 4px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-top: 10px;
    text-align: center;
}

.gallery-overlay span {
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: 1px solid var(--color-accent);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--color-accent);
    color: #000;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

@media (max-width: 900px) {
    .gallery-item {
        min-width: 50%;
        /* 2 items on tablet */
    }
}

@media (max-width: 600px) {
    .gallery-item {
        min-width: 100%;
        /* 1 item on mobile */
    }
}

/* CTA Section */
.cta {
    position: relative;
    text-align: center;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-accent-green);
    opacity: 0.1;
    z-index: 0;
}

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

.cta h2 {
    font-size: 3rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    border-top: 1px solid #222;
    background-color: #020b18;
    /* Matched to logo background */
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer-logo img {
    height: 80px;
    /* Slightly larger for footer */
    width: auto;
}

.footer-desc {
    color: var(--color-text-secondary);
    max-width: 300px;
}

.footer h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 25px;
}

.footer-contact li {
    margin-bottom: 15px;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--color-accent);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--color-text-secondary);
    transition: 0.3s;
}

.social-icons a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #1a1a1a;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Animations Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Scroll Reveal Class (handled by JS) */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Delays */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
    .section-title {
        font-size: 2rem;
    }

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

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--color-bg-primary);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease;
        border-top: 1px solid #222;
    }

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

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

    .mobile-menu-btn {
        display: block;
    }

    .detail-row,
    .detail-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 20px;
        /* Reduce padding on mobile */
    }

    .detail-content h3 {
        font-size: 2.5rem;
        /* Scale down from 3.5rem */
    }

    .product-slide .image-wrapper {
        height: 350px;
        /* Reduce height on mobile */
    }

    .feature-list li {
        justify-content: center;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.slider-btn:hover {
    background: var(--color-accent);
    color: black;
}

/* Position Left Button */
.slider-btn[class*="prev-"] {
    left: 15px;
}

/* Position Right Button */
.slider-btn[class*="next-"] {
    right: 15px;
}