/* Custom Styles for Coway Gading Serpong */

:root {
    --coway-blue: #0093D0;
    --coway-dark: #1F2A38;
    --coway-light: #F0F6FA;
    --coway-soft: rgba(0, 147, 208, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    -webkit-font-smoothing: antialiased;
}

/* Colors and Utilities */
.text-primary {
    color: var(--coway-blue) !important;
}

.bg-primary {
    background-color: var(--coway-blue) !important;
}

.btn-primary {
    background-color: var(--coway-blue);
    border-color: var(--coway-blue);
}

.btn-primary:hover {
    background-color: #0077A8;
    border-color: #0077A8;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 147, 208, 0.3);
}

.btn-outline-primary {
    color: var(--coway-blue);
    border-color: var(--coway-blue);
}

.btn-outline-primary:hover {
    background-color: var(--coway-blue);
    color: white;
    transform: translateY(-2px);
}

.bg-soft-primary {
    background-color: var(--coway-soft);
}

/* Navbar */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand .brand-text {
    letter-spacing: -0.5px;
}

.nav-link {
    color: var(--coway-dark) !important;
    font-size: 15px;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--coway-blue) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--coway-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 85vh;
    background: linear-gradient(135deg, #ffffff 0%, var(--coway-light) 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.hero-content h1 {
    letter-spacing: -1.5px;
    line-height: 1.2;
}

.blob-shape {
    width: 400px;
    height: 400px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    animation: blobBounce 5s infinite alternate ease-in-out;
}

@keyframes blobBounce {
    0% { border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; }
    100% { border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%; }
}

.hero-img {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Feature Cards */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05) !important;
}

.feature-card:hover .icon-box {
    background-color: var(--coway-blue);
    color: white !important;
}

.icon-box {
    transition: all 0.3s ease;
}

/* Products */
.product-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0,0,0,0.03) !important;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
}

.product-img-wrapper {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
}

.product-img-wrapper img {
    max-height: 200px;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

.mix-blend-multiply {
    mix-blend-mode: multiply;
}

.tracking-wider {
    letter-spacing: 2px;
}

/* Services */
.blob-shape-white {
    width: 600px;
    height: 600px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 50%;
    position: absolute;
    top: -100px;
    right: -150px;
    z-index: 0;
}

.icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.cert-card {
    transition: transform 0.3s ease;
}

.cert-card:hover {
    transform: scale(1.02);
}

/* Footer */
footer {
    background-color: var(--coway-dark) !important;
}

.hover-white:hover {
    color: white !important;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section {
        padding: 50px 0;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .blob-shape-white {
        display: none;
    }
}
