/* ==========================================================================
   ONETOMAX AGENCY - COMPONENTS STYLESHEET
   Buttons, Badges, Header, Topbar, Sub-banner & Service Cards
   ========================================================================== */

/* Buttons & Badges */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 128, 225, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 128, 225, 0.45);
    background: linear-gradient(135deg, #1ea1f2 0%, #006ec4 100%);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--primary);
    color: var(--primary-dark);
}

.btn-outline:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

/* Header & Topbar */
.topbar {
    background: var(--primary-dark);
    color: #fff;
    font-size: 0.88rem;
    padding: 8px 0;
}

.topbar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-header {
    background: rgba(255, 255, 255, 0.98);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-brand .logo-text {
    font-size: 1.85rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--primary);
}

.logo-brand .logo-sub {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    line-height: 1;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-item a {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.96rem;
    position: relative;
    padding: 6px 0;
}

.nav-item a:hover {
    color: var(--primary);
}

.nav-item .nav-badge {
    position: absolute;
    top: -8px;
    right: -18px;
    background: #ff4757;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 6px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Sub-banner Grid - Clickable Real Photo Project Banners */
.sub-banner-section {
    padding: 20px 0 60px;
}

.sub-banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.sub-banner-card-photo {
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: #0f172a;
}

.sub-banner-card-photo:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 38px rgba(0, 128, 225, 0.25);
}

.banner-photo-inner {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.banner-photo-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.sub-banner-card-photo:hover .banner-photo-inner img {
    transform: scale(1.08);
}

.banner-caption-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.85) 100%);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}

.banner-chip {
    align-self: flex-start;
    background: rgba(0, 128, 225, 0.95);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
    backdrop-filter: blur(6px);
}

.banner-title {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.35;
    color: #fff;
    margin-bottom: 8px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.banner-link-text {
    font-size: 0.88rem;
    font-weight: 700;
    color: #93c5fd;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.sub-banner-card-photo:hover .banner-link-text {
    color: #60a5fa;
    transform: translateX(4px);
}

/* About Section - Identical to mau2 template */
.about-section {
    padding: 70px 0 80px;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content {
    max-width: 580px;
}

.about-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 800;
    color: #0080e1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.about-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #0080e1;
    display: inline-block;
}

.about-title {
    font-size: 2.85rem;
    font-weight: 900;
    line-height: 1.2;
    color: #1e2329;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.about-desc {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #555e68;
    margin-bottom: 26px;
}

.about-btn-wrap {
    margin-bottom: 30px;
}

.btn-about-consult {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0080e1;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 13px 36px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 128, 225, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-about-consult:hover {
    background: #0066b3;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 128, 225, 0.45);
    color: #ffffff;
}

.about-checklist {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about-checklist .checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.02rem;
    font-weight: 600;
    color: #4b5563;
}

.about-checklist .checklist-item i {
    color: #0080e1;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.about-media {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-media-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.about-specialist-img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

.about-floating-badge {
    position: absolute;
    z-index: 3;
    pointer-events: auto;
    transition: transform 0.3s ease;
}

.badge-ecommerce {
    bottom: 16%;
    left: -4%;
    width: 38%;
    max-width: 230px;
    min-width: 160px;
    animation: floatBadgeEcommerce 4s ease-in-out infinite alternate;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.12));
}

.badge-platform {
    bottom: 2%;
    right: 2%;
    width: 44%;
    max-width: 260px;
    min-width: 170px;
    animation: floatBadgePlatform 4.5s ease-in-out infinite alternate 0.6s;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.12));
}

.about-floating-badge img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes floatBadgeEcommerce {
    0% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(-8px);
    }
}

@keyframes floatBadgePlatform {
    0% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(-7px);
    }
}


