/* Advancedtech.id — shared responsive styles */

html {
    scroll-behavior: smooth;
}

.section-padding {
    padding-top: 3rem;
    padding-bottom: 3rem;
}
@media (min-width: 768px) {
    .section-padding {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

.section-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
@media (min-width: 640px) {
    .section-title { font-size: 2.25rem; }
}
@media (min-width: 1024px) {
    .section-title { font-size: 3rem; }
}

.section-subtitle {
    font-size: 1rem;
    line-height: 1.75;
    color: #64748b;
}
@media (min-width: 768px) {
    .section-subtitle { font-size: 1.125rem; }
}

/* Hero banner */
.heroSwiper {
    width: 100%;
    overflow: hidden;
    border-radius: 1rem;
    position: relative;
}
@media (min-width: 768px) {
    .heroSwiper { border-radius: 1.5rem; }
}

.hero-img-container {
    overflow: hidden;
    width: 100%;
    height: 100%;
}
.hero-img-container img {
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    object-fit: cover;
    object-position: center;
}
.hero-img-container:hover img {
    transform: scale(1.03);
}

.hero-size {
    height: 220px;
}
@media (min-width: 640px) {
    .hero-size { height: 320px; }
}
@media (min-width: 768px) {
    .hero-size { height: 420px; }
}
@media (min-width: 1024px) {
    .hero-size { height: 520px; }
}

.nav-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    z-index: 10;
}
.nav-btn::after {
    font-size: 14px !important;
}
.nav-btn:hover {
    background: white;
    color: #0f172a;
    transform: scale(1.05);
}
@media (min-width: 768px) {
    .nav-btn {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 639px) {
    .heroSwiper .swiper-button-next,
    .heroSwiper .swiper-button-prev,
    .videoSwiper .swiper-button-next,
    .videoSwiper .swiper-button-prev {
        display: none;
    }
}

/* About image frames */
.about-frame {
    border: 6px solid #fff;
    border-radius: 2rem 2rem 1rem 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.12);
}
.about-frame--alt {
    border-radius: 1rem 2rem 2rem 1rem;
}
@media (min-width: 768px) {
    .about-frame,
    .about-frame--alt {
        border-width: 10px;
        border-radius: 6rem 6rem 1.5rem 1.5rem;
    }
    .about-frame--alt {
        border-radius: 6rem 1.5rem 1.5rem 6rem;
    }
}

/* Product cards */
.product-card {
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    background: #fff;
    display: flex;
    flex-direction: column;
}
@media (min-width: 768px) {
    .product-card { border-radius: 1.75rem; }
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.12);
}

/* Video slider */
.videoSwiper {
    padding: 1rem 0 2.5rem;
}
.video-card {
    aspect-ratio: 16 / 9;
    border-radius: 1rem;
    overflow: hidden;
    background: #000;
    transform: scale(0.95);
    transition: transform 0.5s ease;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}
@media (min-width: 768px) {
    .video-card { border-radius: 1.5rem; }
}
.swiper-slide-active .video-card {
    transform: scale(1);
}

.video-background-iframe {
    width: 100vw;
    height: 56.25vw;
    min-height: 100%;
    min-width: 177.77vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Card / panel surfaces */
.glass-panel {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 1.25rem;
    box-shadow: 0 8px 30px -8px rgba(15, 23, 42, 0.08);
}
@media (min-width: 768px) {
    .glass-panel { border-radius: 2rem; }
}

/* Contact cards */
.contact-card {
    flex-wrap: wrap;
    gap: 0.75rem;
}
@media (max-width: 479px) {
    .contact-card {
        flex-direction: column;
        align-items: flex-start !important;
    }
    .contact-card .contact-arrow {
        align-self: flex-end;
    }
}
