/* Base & Reset */
:root {
    --primary-color: #0f172a;
    /* Deep Navy */
    --secondary-color: #f59e0b;
    /* Amber/Gold */
    --accent-color: #3b82f6;
    /* Bright Blue */
    --text-color: #334155;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography & Utilities */
h1,
h2,
h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
}

p {
    margin-bottom: 20px;
    color: #64748b;
}

.highlight {
    color: var(--secondary-color);
}

.subtitle {
    display: block;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #d97706;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    margin-left: 10px;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    border: none;
    font-size: 1rem;
}

/* Announcement Bar */
.announcement-bar {
    background-color: var(--secondary-color);
    color: #fff;
    text-align: center;
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: 500;
}

.announcement-bar i {
    margin-right: 8px;
}

/* Navbar */
.navbar {
    position: sticky;
    /*Changed from fixed to sticky to sit below announcement */
    top: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: padding 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    /* Ensure no underline on hover */
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.brand-name span {
    color: var(--secondary-color);
}

.brand-location {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.brand-location i {
    color: var(--secondary-color);
    margin-right: 4px;
    font-size: 0.8rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-location {
    font-size: 0.9rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.nav-location i {
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1513694203232-719a280e022f?q=80&w=2669&auto=format&fit=crop') no-repeat center center/cover;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
    text-align: left;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: #e2e8f0;
    margin-bottom: 30px;
    max-width: 600px;
}

/* Features Section */
.features {
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

.feature-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    /* Reduced gap to fit more items */
}

.feature-card {
    background: #fff;
    padding: 25px 15px;
    /* Reduced padding */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
    flex: 1 1 200px;
    /* Reduced basis to 200px to fit 5 items on desktop */
    max-width: 250px;
    /* Constrain max width for better aesthetic */
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 10px;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
}

.img-placeholder {
    width: 100%;
    height: 400px;
    background: #cbd5e1;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #94a3b8;
}

/* Products Section */
.products {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header.reveal {
    opacity: 0;
    transform: translateY(30px);
}

.section-header.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.product-img {
    aspect-ratio: 1 / 1;
    width: 180px;
    margin: 25px auto 0;
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-img img {
    width: 85%;
    height: 85%;
    object-fit: contain;
}

.img-placeholder-sm {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #94a3b8;
}

.product-info {
    padding: 25px;
    text-align: center;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-info h2 {
    color: var(--white);
    font-size: 2.5rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: #f8fafc;
    /* Subtle background color */
}

.about-content {
    display: flex;
    align-items: center;
    gap: 80px;
    /* Increased gap for better breathing room */
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    border-radius: 20px 0 20px 0;
    /* Distinctive border radius */
    box-shadow: 20px 20px 0 rgba(15, 23, 42, 0.1);
    /* Stylized shadow */
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: translateY(-5px);
}

.about-text .btn {
    margin-top: 20px;
}

.about-content p {
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.values-grid {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.value-card {
    background: #fff;
    /* White bg on light gray section */
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card i {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 12px;
    background: rgba(245, 158, 11, 0.1);
    padding: 10px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.15rem;
    font-weight: 600;
}

.value-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: #64748b;
}

/* Mobile responsive for values */
@media (max-width: 768px) {
    .values-grid {
        flex-direction: column;
    }
}

/* Splash Screen */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    /* Highest priority */
    background-color: #0f172a;
    /* Fallback color */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: opacity 0.8s ease-out, visibility 0.8s;
}

/* Cinematic Background Animation */
.splash-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, rgba(15, 23, 42, 1) 70%);
    animation: rotateBg 15s linear infinite;
    opacity: 0.8;
}

/* Moving Orbs/Lights simulation for video feel */
.splash-bg::before,
.splash-bg::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15), transparent 60%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: drift 10s ease-in-out infinite alternate;
}

.splash-bg::after {
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 60%);
    animation: drift 12s ease-in-out infinite alternate-reverse;
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes drift {
    0% {
        transform: translate(-50%, -50%) translate(-50px, -50px);
    }

    100% {
        transform: translate(-50%, -50%) translate(50px, 50px);
    }
}

.splash-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
}

.splash-logo {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.2s;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.logo-animation .splash-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
    color: #fff;
}

.logo-animation span {
    color: var(--secondary-color);
}

.logo-animation p {
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: #94a3b8;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.8s;
}

.welcome-text {
    font-size: 2.5rem;
    margin-top: 50px;
    font-weight: 700;
    text-transform: uppercase;
    /* Uppercase */
    letter-spacing: 4px;
    opacity: 0;
    animation: zoomIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards 1.2s;
    /* Text appears around 1.2s -> 2.0s */

    /* Button-like styling */
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);

    /* Dynamic Shadow & Glow */
    color: #fff;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.8), 0 0 40px rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 30px rgba(15, 23, 42, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.1);

    /* Interactive */
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.welcome-text:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.8), inset 0 0 30px rgba(255, 255, 255, 0.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hide splash screen class */
.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* Prevent scrolling while splash is active */
body.splash-active {
    overflow: hidden;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.info-item i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
    color: var(--secondary-color);
}

.social-links {
    margin-top: 30px;
}

.social-links a {
    display: inline-flex;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    background: var(--white);
}

/* Footer */
footer {
    background: #020617;
    color: #64748b;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 15px 0;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 100%; /* Use full width */
    }

    .hero-btns .btn {
        width: 100%;
        margin-left: 0 !important;
        text-align: center;
        padding: 15px;
    }

    .mobile-order-btn {
        display: block !important;
        background-color: var(--accent-color);
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    }
}

.mobile-order-btn {
    display: none;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #1DA851;
    /* Darker green on hover */
    transform: scale(1.1);
    color: #fff;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.whatsapp-float i {
    margin-top: 2px;
    /* Slight adjustment for visual center */
}

/* Ensure it stays on top on mobile */
@media (max-width: 768px) {

    /* Owner Signature */
    .owner-signature {
        margin: 20px 0;
        color: var(--primary-color);
    }

    .owner-signature p {
        margin-bottom: 0px !important;
        /* Override default p margin in about content */
        font-size: 1.1rem;
    }

    .owner-signature span {
        font-size: 0.9rem;
        color: #64748b;
    }

    /* Order Section */
    .order {
        padding: 100px 0;
        background-color: var(--light-bg);
        /* Use light background to differentiate */
    }

    .order-inputs {
        display: flex;
        gap: 15px;
        margin: 20px 0;
    }

    .dimension-input {
        width: 100%;
        /* 50% each with gap */
        padding: 12px;
        border: 1px solid #cbd5e1;
        border-radius: 8px;
        font-size: 0.95rem;
        outline: none;
        transition: var(--transition);
    }

    .dimension-input:focus {
        border-color: var(--secondary-color);
        box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
    }
}

/* Map and Directions */
.map-container {
    margin-top: 25px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.btn-directions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    background-color: #2563eb;
    /* Google Blue-ish */
}

.btn-directions:hover {
    background-color: #1d4ed8;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1001; /* Above navbar and float button */
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1002;
    background: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: var(--secondary-color);
    text-decoration: none;
    cursor: pointer;
    background: rgba(0,0,0,0.8);
}

/* --- Store Gallery Section --- */
.store-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative circles in the background */
.store-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.store-section .container {
    position: relative;
    z-index: 1;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.store-item {
    position: relative;
    padding: 8px; /* Frame thickness */
    background: linear-gradient(45deg, var(--secondary-color), #3b82f6); /* Colorful "Line" around */
    border-radius: 20px;
    box-shadow: 
        0 10px 30px rgba(59, 130, 246, 0.15),
        0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

.store-item-inner {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    padding: 5px;
}

.store-item img {
    width: 100%;
    height: auto;
    max-height: 550px;
    border-radius: 10px;
    object-fit: contain;
    transition: transform 0.8s ease;
    display: block;
}

/* Hover Effect: Pulse and Scale */
.store-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 30px 80px rgba(59, 130, 246, 0.25),
        0 0 30px rgba(59, 130, 246, 0.3);
    background: linear-gradient(45deg, #3b82f6, var(--secondary-color));
}

.store-item:hover img {
    transform: scale(1.03);
}

.store-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .store-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* --- Star Directions Button --- */
.store-actions {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.star-btn {
    position: relative;
    padding: 18px 45px;
    background: linear-gradient(45deg, #f59e0b, #fbbf24, #f59e0b);
    background-size: 200% auto;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: bounce 2s infinite;
}

.star-btn i {
    font-size: 1.3rem;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.8));
}

/* Star particles */
.star-btn::before, .star-btn::after {
    content: '★';
    position: absolute;
    color: #fbbf24;
    font-size: 20px;
    opacity: 0;
    transition: all 0.5s ease;
}

.star-btn::before { top: -20px; left: 10px; }
.star-btn::after { bottom: -20px; right: 10px; }

.star-btn:hover {
    transform: scale(1.1) rotate(-1deg);
    background-position: right center;
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.6);
}

.star-btn:hover::before {
    top: -30px;
    left: -10px;
    opacity: 1;
    transform: scale(1.5) rotate(45deg);
}

.star-btn:hover::after {
    bottom: -30px;
    right: -10px;
    opacity: 1;
    transform: scale(1.5) rotate(-45deg);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* --- Modern Showcase Section --- */
.showcase-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
    overflow: hidden;
}

.showcase-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 40px 10px 60px;
}

.showcase-item {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.showcase-img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 1 / 1.25;
    background: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.showcase-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 40px;
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 35px;
    opacity: 1; /* Always visible */
    transition: all 0.5s ease;
    backdrop-filter: blur(2px);
}

.showcase-content {
    transform: translateY(0); /* Always at top position */
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    color: #fff;
    width: 100%;
}

.showcase-content h3 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.showcase-content p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
    opacity: 0.9;
}

.showcase-link {
    color: var(--secondary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: gap 0.3s ease;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.showcase-link:hover {
    gap: 18px;
}

/* Hover States */
.showcase-item:hover {
    transform: translateY(-10px);
}

.showcase-item:hover img {
    transform: scale(1.15) rotate(2deg);
}

/* Reveal Animation System */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.showcase-item.reveal {
    transition-delay: calc(var(--reveal-delay, 0) * 100ms);
}

/* Custom Scroll Glow for the container */
.showcase-section::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 100px;
    background: linear-gradient(to left, #f8fafc, transparent);
    pointer-events: none;
    z-index: 2;
}

/* Responsive */
@media (max-width: 991px) {
    .showcase-item {
        flex: 0 0 300px;
    }
}

@media (max-width: 768px) {
    .showcase-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 20px 10px;
        overflow-x: visible;
        flex-wrap: wrap; /* Fallback */
        cursor: default;
    }

    .showcase-item {
        flex: none;
        width: 100%;
    }

    .showcase-img-wrapper {
        border-radius: 16px;
        aspect-ratio: 1 / 1.1;
    }

    .showcase-img-wrapper img {
        padding: 20px;
    }

    .showcase-overlay {
        opacity: 1; /* Always visible on mobile */
        background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.3) 60%, transparent 100%);
        padding: 15px;
        backdrop-filter: blur(2px);
    }

    .showcase-content {
        transform: translateY(0);
    }

    .showcase-content h3 {
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .showcase-content p {
        font-size: 0.75rem;
        margin-bottom: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2; /* Standard property */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .showcase-link {
        font-size: 0.8rem;
        gap: 8px;
    }

    .showcase-link i {
        font-size: 0.7rem;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
