/* ============================================================
   LOISTE STUDIO - DESIGN IMPROVEMENTS & UPDATES
   ============================================================ */

/* 1. Spacing Reduction: Hero to Expertise */
.hero-section {
    padding-bottom: 8rem !important;
    /* Reduced for desktop */
}

.expertise-section {
    padding-top: 4rem !important;
    /* Significantly reduced */
}

@media (max-width: 768px) {
    .hero-section {
        padding-bottom: 2rem !important;
        /* Minimal gap for mobile */
    }

    .expertise-section {
        padding-top: 2rem !important;
        /* Minimal gap for mobile */
    }

    .hero-content {
        padding-top: 4rem !important;
        /* Adjusting hero interior padding */
    }
}

/* 2. Featured Projects - Horizontal Scroll on Desktop */
.projects-section .projects-grid {
    display: flex;
    overflow-x: auto;
    gap: 4rem;
    padding-bottom: 4rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.projects-section .projects-grid::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.projects-section .project-card {
    flex: 0 0 550px;
    /* Increased width as requested */
    scroll-snap-align: start;
}

@media (max-width: 991px) {
    .projects-section .projects-grid {
        flex-direction: column;
        overflow-x: hidden;
    }

    .projects-section .project-card {
        flex: 0 0 auto;
        width: 100%;
    }
}

/* 3. New Contact Section Redesign */
.contact-redesign-section {
    background-color: var(--white-beige);
    padding: 12rem 0;
    color: #000 !important;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1px 1.5fr;
    gap: 8rem;
    align-items: start;
}

.contact-column-left,
.contact-column-right {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.contact-divider {
    background-color: rgba(0, 0, 0, 0.1);
    height: 100%;
    width: 1px;
}

/* Form Styling */
.contact-form-group {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

.contact-form-group input,
.contact-form-group textarea {
    width: 100%;
    border: none;
    background: transparent;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #000;
    padding: 1rem 0;
    outline: none;
}

.contact-form-group input::placeholder,
.contact-form-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.5);
    /* Good visibility */
    text-transform: uppercase;
    font-size: 2.2rem;
    letter-spacing: 0.2em;
}

.contact-form-group textarea {
    height: 300px;
    resize: none;
    font-size: 4rem;
    /* Matching the large "YOUR MESSAGE" look */
    line-height: 1.2;
}

.contact-secondary-text {
    font-family: var(--font-heading);
    font-size: 2.0rem;
    color: #000;
    margin-top: 4rem;
}

.contact-secondary-text a {
    color: #000;
    text-decoration: underline;
}

.submit-button-premium {
    background: transparent;
    border: 1.5px solid var(--color-bronze);
    padding: 1.5rem 6rem;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-style: italic;
    color: var(--black);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.submit-button-premium:hover {
    background: var(--color-bronze);
    color: var(--white-beige);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(193, 182, 164, 0.25);
}

/* 4. Responsive Overrides */
@media (max-width: 991px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .contact-divider {
        display: none;
    }


    .contact-form-group textarea {
        height: 200px;
        font-size: 3rem;
    }


    .submit-button-premium {
        width: 100%;
        text-align: center;
    }
}