/* Global Styles */
:root {
    --primary-color: #9b87f5;
    /* Soft purple */
    --primary-light: #b7a9f7;
    --text-color: #333;
    --bg-gradient-start: #fdfbfb;
    --bg-gradient-end: #f6f8fb;
    --white-translucent: rgba(255, 255, 255, 0.8);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    color: var(--text-color);
    overflow-x: hidden;
    /* Removed flex centering to allow full width sections flow naturally */
}

/* New Wrappers */
.home-bg-wrapper {
    width: 100%;
    /* Placeholder for Background Image: */
    /* Uncomment the url part below and put your file path there */
    /* background-image: url('Asset/your-bg.jpg'), linear-gradient(135deg, #fdfbfb 0%, #f6f8fb 100%); */

    /* Current default with gradient fallback ready */
    background-image: url('Asset/home-bg.png'), linear-gradient(135deg, #fdfbfb 0%, #f6f8fb 100%);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding-bottom: 2rem;
}

.contact-area-wrapper {
    width: 100%;
    background: linear-gradient(135deg, #fdfbfb 0%, #f6f8fb 100%);
    /* or transparent */
}

.main-container {
    width: 100%;
    max-width: 1400px;
    padding: 2rem 2rem 0;
    position: relative;
    text-align: center;
    margin: 0 auto;
    /* Ensures centering within the full-width wrappers */
}

/* Header & Typography */
.header-content {
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.main-logo {
    max-width: 120px;
    height: auto;
    display: block;
    margin: 0 auto 1rem;
}

.title-image {
    max-width: 100%;
    height: auto;
    width: 600px;
    /* Adjust based on image native size */
    margin-top: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Infinite Slider */
.slider-container {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    padding: 0.5rem 0;
    margin-bottom: 2rem;
    /* Mask for fade effect on sides */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.slider-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll 40s linear infinite;
}

/* Pause on hover for better UX */
.slider-track:hover {
    animation-play-state: paused;
}

.slide-box {
    width: 300px;
    height: 200px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(155, 135, 245, 0.15);
    /* Soft purple shadow */
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;

    /* Placeholder visuals */
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.slide-box:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 50px rgba(155, 135, 245, 0.25);
}

.slide-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
    display: block;
}


@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-300px * 15 - 20px * 15));
        /* Width + Gap * Count */
    }
}

/* CTA Section */
.cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.coming-soon-pill {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    color: #888;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.lock-icon {
    font-size: 1rem;
}

.buttons-container {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-outline {
    background: transparent;
    border: 1px solid #ddd;
    color: #444;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(155, 135, 245, 0.05);
}

.btn-primary {
    background: linear-gradient(90deg, #87c3fa 0%, #dc92ea 100%);
    /* Or specifically based on the purple pill in image: */
    background: linear-gradient(90deg, #87c3fa 0%, #dc92ea 100%);
    border: none;
    color: white;
    box-shadow: 0 5px 20px rgba(142, 165, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(142, 165, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .title-small {
        font-size: 1.8rem;
    }

    .title-script {
        font-size: 4rem;
    }

    .buttons-container {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 0 2rem;
    }

    .btn {
        width: 100%;
    }
}

/* Contact Section */
.contact-section {
    width: 100%;
    max-width: 1000px;
    margin: 4rem auto 0;
    padding: 2rem 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    /* Optional separator */
}

.contact-top {
    display: flex;
    justify-content: space-evenly;
    /* Even spacing with the new image */
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-text-img {
    max-width: 400px;
    /* Adjust based on image size */
    width: 100%;
    height: auto;
}

.contact-right {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-align: left;
    font-size: 0.95rem;
    color: #444;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.social-item:hover {
    color: var(--primary-color);
}

.social-item i {
    font-size: 1.2rem;
}

/* Big Contact Button */
.contact-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-btn {
    background: linear-gradient(90deg, #87c3fa 0%, #dc92ea 100%);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1rem 4rem;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(181, 137, 246, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(181, 137, 246, 0.5);
}

.consultation-text {
    font-family: 'Pinyon Script', cursive;
    font-style: italic;
    font-family: 'Poppins', sans-serif;
    color: #666;
    font-size: 1.1rem;
}

.contact-illustration {
    width: 100%;
    max-width: 800px;
    /* Adjust as needed */
    height: auto;
    display: block;
    margin-top: 2rem;
    opacity: 1;
}

/* Responsive for Contact Section */
@media (max-width: 900px) {
    .contact-top {
        flex-direction: column;
        text-align: center;
    }

    .contact-left {
        text-align: center;
    }
}

/* Portfolio Section */
.portfolio-bg-wrapper {
    width: 100%;
    background-image: url('Asset/porto-bg.png'), linear-gradient(135deg, #fdfbfb 0%, #f6f8fb 100%);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    /* This ensures full width background */
}

.portfolio-section {
    width: 100%;
    padding: 4rem 2rem;
    position: relative;
    text-align: center;
}

.portfolio-header {
    margin-bottom: 2rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.portfolio-title-img {
    max-width: 100%;
    width: 400px;
    /* Adjust default width as needed */
    height: auto;
    display: block;
}

/* Old text styles removed */

.portfolio-title {
    font-family: 'Pinyon Script', cursive;
    font-size: 5rem;
    color: var(--primary-color);
    /* Uses the soft purple */
    line-height: 1;
    z-index: 1;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    /* Match the reference width mostly */
    margin: 0 auto;
}

.portfolio-box {
    background: linear-gradient(135deg, #ffffff 0%, #fdfdfd 100%);
    border-radius: 15px;
    aspect-ratio: 3/2;
    /* Looks like rectangular cards */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.portfolio-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(155, 135, 245, 0.2);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content {
    background: #fff;
    width: 800px;
    /* Placeholder max size */
    max-width: 100%;
    aspect-ratio: 16/9;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.lightbox-close:hover {
    transform: scale(1.1);
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-header {
        flex-direction: column;
        height: auto;
        gap: 0;
    }

    .portfolio-subtitle {
        margin-right: 0;
        top: 0;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

/* Pricelist Section */
.pricelist-bg-wrapper {
    width: 100%;
    background-image: url('Asset/porto-bg.png'), linear-gradient(135deg, #fdfbfb 0%, #f6f8fb 100%);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

.pricelist-section {
    width: 100%;
    padding: 4rem 2rem;
    position: relative;
    text-align: center;
    background-color: transparent;
    /* Changed from white to transparent */
}

.pricelist-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    gap: 1rem;
}

.pricelist-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #444;
}

.pricelist-title-img {
    max-width: 100%;
    width: 400px;
    height: auto;
    display: block;
}

.pricelist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.price-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Matches the soft look */
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
}

.price-card:hover {
    transform: translateY(-5px);
}

.price-image-placeholder {
    width: 100%;
    height: 150px;
    /* Placeholder height */
    background-color: #f8f8f8;
    /* Light gray placeholder */
    border-radius: 15px;
    background-image: url('Asset/price-placeholder.png');
    /* If available later */
    background-size: cover;
    background-position: center;
    /* Optional: styling for empty placeholder */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 0.9rem;
}

.price-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
}

.price-badge {
    background: linear-gradient(90deg, #87c3fa 0%, #dc92ea 100%);
    color: white;
    padding: 10px 15px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    text-align: left;
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}

.price-details {
    text-align: right;
    width: 50%;
}

.price-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    display: block;
    margin-bottom: 2px;
}

.price-desc {
    font-size: 0.75rem;
    color: #666;
    display: block;
    line-height: 1.3;
}

/* Responsive Pricelist */
@media (max-width: 768px) {
    .pricelist-grid {
        grid-template-columns: 1fr;
    }
}

/* Back to Top Button */
.back-to-top {
    display: none;
    /* Hidden by default */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    font-size: 1.2rem;
    border: none;
    outline: none;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.3s;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    background-color: #8c7ae6;
    /* Slightly darker purple */
    transform: translateY(-3px);
}