/* Ideative Studio Custom CSS */

/* Logo sizing */
.pe-site-logo img {
    max-height: 60px;
    width: auto;
}
@media (max-width: 1024px) {
    .pe-site-logo img {
        max-height: 45px;
    }
}
@media (max-width: 767px) {
    .pe-site-logo img {
        max-height: 35px;
    }
}

/* Hide extra team members on About page */
.ideative-hidden {
    display: none !important;
}

/* Typography refinements */
.project-page-content h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

/* Portfolio grid responsive */
@media (max-width: 767px) {
    .portfolio-grid .portfolio-item {
        width: 100% !important;
    }
    .pe-project-hero__title {
        font-size: clamp(1.8rem, 5vw, 3rem);
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .portfolio-grid .portfolio-item {
        width: 50% !important;
    }
}

/* Button hover states */
.pe-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

/* Service cards equal height */
.elementor-widget-pesingleimage + .elementor-element {
    display: flex;
    flex-direction: column;
}

/* Fix mobile nav spacing */
@media (max-width: 767px) {
    .pe-header__inner {
        padding: 10px 15px;
    }
    .project-page .page-content {
        padding: 0 15px;
    }
}

/* Counter number sizing */
.pe-number-counter__number {
    font-size: clamp(2.5rem, 6vw, 6rem);
}

/* Team member cards */
.pe-team-member {
    transition: transform 0.3s ease;
}
.pe-team-member:hover {
    transform: translateY(-5px);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Contact form styling */
.pe-forms input,
.pe-forms textarea,
.pe-forms select {
    border-radius: 4px;
}

/* Homepage carousel — project titles below images */
.pe--webgl--carousel .pe--webgl--project--title {
    margin-top: 16px;
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 500;
    opacity: 0.9;
    letter-spacing: 0.02em;
}
.pe--webgl--carousel .pe--webgl--project--meta {
    margin-top: 4px;
    font-size: 0.85rem;
    opacity: 0.5;
}
